Browse Source

Fix parse error in Zsh 4.3.17

master
rummik 13 years ago
parent
commit
ad5242ea0b
  1. 2
      nvm.sh

2
nvm.sh

@ -12,7 +12,7 @@ fi @@ -12,7 +12,7 @@ fi
# Make zsh glob matching behave same as bash
# This fixes the "zsh: no matches found" errors
if [[ `which unsetopt` ]]; then
if [ ! -z "$(which unsetopt)" ]; then
unsetopt nomatch 2>/dev/null
fi

Loading…
Cancel
Save