redirect all output to /dev/null

This commit is contained in:
Koen Punt 2013-12-12 10:29:05 +01:00
parent aba4346a86
commit 4aee0e5f71
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
# 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