Source the nvm.sh file

Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file.
This commit is contained in:
Ionică Bizău
2015-07-06 11:19:48 +03:00
parent f2d31b0458
commit b4151e1446
+3 -2
View File
@@ -227,8 +227,9 @@ nvm_do_install() {
fi
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
}