mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge pull request #131 from rummik/patch-1
Fix parse error in Zsh 4.3.17
This commit is contained in:
commit
cd14416bfd
2
nvm.sh
2
nvm.sh
@ -12,7 +12,7 @@ fi
|
|||||||
|
|
||||||
# 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 [[ `which unsetopt` ]]; then
|
if [ ! -z "$(which unsetopt)" ]; then
|
||||||
unsetopt nomatch 2>/dev/null
|
unsetopt nomatch 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user