From 037f52a55b724fea4a00c3ea7b9d18cd4576405d Mon Sep 17 00:00:00 2001 From: Adam Hull Date: Wed, 11 Dec 2013 15:23:19 -0800 Subject: [PATCH] Slurp test unsetopt stderr --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 059334b..b645721 100755 --- a/nvm.sh +++ b/nvm.sh @@ -9,7 +9,7 @@ # Make zsh glob matching behave same as bash # This fixes the "zsh: no matches found" errors -if type "unsetopt" > /dev/null; then +if type "unsetopt" > /dev/null 2>&1; then unsetopt nomatch 2>/dev/null NVM_CD_FLAGS="-q" fi