From 4aee0e5f719ba6ee7bd0378d2c81c080f9eb6af1 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Thu, 12 Dec 2013 10:29:05 +0100 Subject: [PATCH] redirect all output to /dev/null --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 059334b..e11295d 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" 2&>1 > /dev/null; then unsetopt nomatch 2>/dev/null NVM_CD_FLAGS="-q" fi