Source the nvm.sh file
Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file.
parent
f2d31b0458
commit
b4151e1446
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue