commit | b4151e1446f36d534a8a98e6876d293e05317173 | [log] [tgz] |
---|---|---|
author | Ionică Bizău <bizauionica@gmail.com> | Tue Jun 30 09:47:55 2015 +0300 |
committer | Ionică Bizău <bizauionica@gmail.com> | Mon Jul 06 11:19:48 2015 +0300 |
tree | 558681cf94fd2607db5fa8838afad7fae99fa569 | |
parent | f2d31b0458aa0dbbc8ce2c5c4f6cd74005dc4f59 [diff] |
Source the nvm.sh file Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file.
diff --git a/install.sh b/install.sh index 2ef5f8e..16d8fe1 100755 --- a/install.sh +++ b/install.sh
@@ -227,8 +227,9 @@ 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 }