Only source nvm, not entire profile

This commit is contained in:
Luke Childs 2016-07-27 22:26:05 +01:00
parent 3417e9d9a3
commit 978f7b4435

View File

@ -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