mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
Merge pull request #324 from hurrymaplelad/quiet_type
Slurp stderr from test unsetopt
This commit is contained in:
commit
cf515c4ff8
2
nvm.sh
2
nvm.sh
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# Make zsh glob matching behave same as bash
|
# Make zsh glob matching behave same as bash
|
||||||
# This fixes the "zsh: no matches found" errors
|
# 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
|
unsetopt nomatch 2>/dev/null
|
||||||
NVM_CD_FLAGS="-q"
|
NVM_CD_FLAGS="-q"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user