Source the nvm.sh file

Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file.
Ionică Bizău 2015-06-30 09:47:55 +03:00
parent f2d31b0458
commit b4151e1446
1 changed files with 3 additions and 2 deletions

View File

@ -228,7 +228,8 @@ nvm_do_install() {
nvm_check_global_modules
echo "=> Close and reopen your terminal to start using nvm"
. $NVM_DIR/nvm.sh
echo "=> You can now start using nvm"
nvm_reset
}