Browse Source

fix quoting for usernames with space

Dave May 9 years ago
parent
commit
f113c5d030
  1. 4
      install.sh

4
install.sh

@ -131,7 +131,7 @@ nvm_detect_profile() { @@ -131,7 +131,7 @@ nvm_detect_profile() {
DETECTED_PROFILE="$HOME/.zshrc"
fi
if [ -z $DETECTED_PROFILE ]; then
if [ -z "$DETECTED_PROFILE" ]; then
if [ -f "$PROFILE" ]; then
DETECTED_PROFILE="$PROFILE"
elif [ -f "$HOME/.profile" ]; then
@ -145,7 +145,7 @@ nvm_detect_profile() { @@ -145,7 +145,7 @@ nvm_detect_profile() {
fi
fi
if [ ! -z $DETECTED_PROFILE ]; then
if [ ! -z "$DETECTED_PROFILE" ]; then
echo "$DETECTED_PROFILE"
fi
}

Loading…
Cancel
Save