mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
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:
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
Block a user