From b4151e1446f36d534a8a98e6876d293e05317173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Tue, 30 Jun 2015 09:47:55 +0300 Subject: [PATCH] Source the nvm.sh file Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file. --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2ef5f8e..16d8fe1 100755 --- a/install.sh +++ b/install.sh @@ -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 }