Addresses comments to close #833

Matthew Campbell 2016-01-01 14:09:35 -05:00
parent 918fcb4bd2
commit 645bda4987
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ _PROFILE=$(nvm_detect_profile)
die "nvm_detect_profile didn't pick $SHELL and $HOME/.bashrc" ) die "nvm_detect_profile didn't pick $SHELL and $HOME/.bashrc" )
# But $PROFILE should override # But $PROFILE should override
PROFILE=test_profile _PROFILE="$(PROFILE=test_profile nvm_detect_profile)"
_PROFILE=$(nvm_detect_profile) _PROFILE=$(nvm_detect_profile)
[ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" && [ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" &&
echo "_\$PROFILE: _$PROFILE" && echo "_\$PROFILE: _$PROFILE" &&
@ -50,7 +50,7 @@ _PROFILE=$(nvm_detect_profile)
die "nvm_detect_profile didn't pick $SHELL and $HOME/.zshrc" ) die "nvm_detect_profile didn't pick $SHELL and $HOME/.zshrc" )
# But $PROFILE should override # But $PROFILE should override
PROFILE=test_profile _PROFILE="$(PROFILE=test_profile nvm_detect_profile)"
_PROFILE=$(nvm_detect_profile) _PROFILE=$(nvm_detect_profile)
[ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" && [ "_$_PROFILE" = "_$PROFILE" ] || ( echo "_\$_PROFILE: _$_PROFILE" &&
echo "_\$PROFILE: _$PROFILE" && echo "_\$PROFILE: _$PROFILE" &&