Merge pull request #322 from koenpunt/fix-unsetopt-test

Universal test of unsetopt command. Closes #300
master
Jordan Harband 2013-12-11 09:28:58 -08:00
commit b714db7a95
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

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