Skip to content

Commit

Permalink
Merge pull request #131 from rummik/patch-1
Browse files Browse the repository at this point in the history
Fix parse error in Zsh 4.3.17
  • Loading branch information
creationix committed Aug 22, 2012
2 parents 5132a1e + ad5242e commit cd14416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Expand Up @@ -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

Expand Down

0 comments on commit cd14416

Please sign in to comment.