Install script should also update ~/.bash_profile #904
Labels
installing nvm: profile detection
Issues with nvm's own install script, related to figuring out the right profile file.
pull request wanted
This is a great way to contribute! Help us out :-D
I was installing nvm on Mac OSX 10.11.1 and ran the install script in the README, which added the following line to my
~/.bashrc
:But when restarting my shell, I got:
-bash: nvm: command not found
I resolved this by adding the line above to my
~/.bash_profile
instead. Maybe the install script should also do this in case other people have this issue (more info about~/.bashrc
vs~/.bashprofile
: http://stackoverflow.com/a/415444)(Note: you could also add
[[ -r ~/.bashrc ]] && . ~/.bashrc
to~/.bash_profile
to make it load the~/.bashrc
file.)The text was updated successfully, but these errors were encountered: