Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvm.sh must be linked/copied to $HOME/.nvm #45

Closed
wlnirvana opened this issue Dec 19, 2019 · 1 comment
Closed

nvm.sh must be linked/copied to $HOME/.nvm #45

wlnirvana opened this issue Dec 19, 2019 · 1 comment

Comments

@wlnirvana
Copy link

The brew formula leaves nvm.sh at $(brew --prefix nvm)/nvm.sh without linking it to~/.nvm/nvm.sh. Consequently, the following code fails to source the file properly.

set -q NVM_DIR; or set -gx NVM_DIR ~/.nvm
set -q nvm_prefix; or set -gx nvm_prefix $NVM_DIR

bass source $nvm_prefix/nvm.sh --no-use ';' nvm $argv
@FabioAntunes
Copy link
Owner

Brew is not the official way to install nvm but if still insist in doing so, just add: set -gx NVM_DIR (brew --prefix nvm)/nvm.sh to your config.fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants