mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Only source nvm, not entire profile
This commit is contained in:
parent
3417e9d9a3
commit
978f7b4435
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user