You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a problem caused by fnm, but nvm. However, I feel this should be mentioned here since many people are migrating from nvm to fnm, and some of them may trip on the same issue. Perhaps this fact could be mentioned in a FAQ or Troubleshooting section?
When I removed nvm to use fnm, tab completion was disabled. I had to manually enable completions in my .zshrc to get it working again (and add fnm's own completions):
# ~/.zshrc# I put my custom completions in ~/.zcompletions/
fpath+=~/.zcompletions
autoload -Uz compinit && compinit
# ...
The text was updated successfully, but these errors were encountered:
pastelmind
changed the title
Migrating from nvm to fnm, lost completions
Migrating from nvm to fnm, lost tab completions
Jan 4, 2023
This is not a problem caused by fnm, but nvm. However, I feel this should be mentioned here since many people are migrating from nvm to fnm, and some of them may trip on the same issue. Perhaps this fact could be mentioned in a FAQ or Troubleshooting section?
Nvm enables Zsh's tab completion (via
autoload -U compinit
) during initialization. This also enables built-in completions for many other tools, such as Git. I had been unknowingly relying on this behavior since I installed nvm.When I removed nvm to use fnm, tab completion was disabled. I had to manually enable completions in my
.zshrc
to get it working again (and add fnm's own completions):The text was updated successfully, but these errors were encountered: