Only source nvm, not entire profile
This commit is contained in:
1 parent
3417e9d9a3
commit
978f7b4435
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user