Merge pull request #129 from indianburger/master

Add check for unsetopt issue #128
master
Tim Caswell 2012-08-20 08:28:20 -07:00
commit 5132a1eb6f
1 changed files with 3 additions and 1 deletions

2
nvm.sh
View File

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