Improve startup performance. Closes #703

master
Jo Liss 2015-03-27 03:15:11 +00:00
parent 70370a857f
commit 609d9ee4ea
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -1718,7 +1718,7 @@ if nvm_supports_source_options && [ "_$1" = "_--install" ]; then
elif nvm_rc_version >/dev/null 2>&1; then
nvm install >/dev/null
fi
elif nvm ls default >/dev/null; then
elif nvm_alias default >/dev/null 2>&1; then
nvm use default >/dev/null
elif nvm_rc_version >/dev/null 2>&1; then
nvm use >/dev/null