Merge pull request #133 from mimetnet/master

Fix warning when unsetopt isn't found
master
Tim Caswell 2012-08-22 11:32:49 -07:00
commit 04652a5090
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

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