From 978f7b44351ccc6e6f645b1c89fbaceb109b2c05 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Wed, 27 Jul 2016 22:26:05 +0100 Subject: [PATCH] Only source nvm, not entire profile --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6477346..f21d66c 100755 --- a/install.sh +++ b/install.sh @@ -289,8 +289,8 @@ nvm_do_install() { fi fi - # Sourcing $PROFILE to take into account the new environment - . "$NVM_PROFILE" + # Source nvm + . "$NVM_DIR/nvm.sh" nvm_check_global_modules