ghaiklor / iterm-fish-fisher-osx

Semi-automatic installer for Command Line Tools + Homebrew + iTerm2 + Fish Shell + Fisher + Plugins/Themes
MIT License
374 stars 56 forks source link

fish: Unknown command nvm #10

Closed faizaldong closed 5 years ago

faizaldong commented 5 years ago

Hi @ghaiklor

Is your software support for NVM? I installed nvm from this repo https://github.com/nvm-sh/nvm. I had been using nvm for quite some time. after use your software, I cant run any nvm command

Screenshot 2019-11-05 at 3 47 42 PM
ghaiklor commented 5 years ago

Hey @faizaldong

All my script does is install Fish Shell with plugins and configures iTerm for custom fonts and color scheme.

It can not update your environment configuration in any way, literally. So, it means:

1) You did not finish nvm installation 2) Or, maybe, nvm is not available in $PATH

ghaiklor commented 5 years ago

https://github.com/nvm-sh/nvm#important-notes

Read notes how to fix that for Fish shell on nvm page

IMG_0085

ghaiklor commented 5 years ago

Closing as it is not related to this project. The issue is with Fish Shell and that nvm does not support it.

ghaiklor commented 5 years ago

BTW @faizaldong I’m using fisherman under the hood, so the best choice for you to resolve the issue is to choose fnm - fisherman-based version manager - https://github.com/jorgebucaran/fish-nvm

faizaldong commented 5 years ago

BTW @faizaldong I’m using fisherman under the hood, so the best choice for you to resolve the issue is to choose fnm - fisherman-based version manager - https://github.com/jorgebucaran/fish-nvm

Hi thank you for the suggestion! It solved the issue