mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge pull request #129 from indianburger/master
Add check for unsetopt issue #128
This commit is contained in:
commit
5132a1eb6f
4
nvm.sh
4
nvm.sh
@ -12,7 +12,9 @@ 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
|
||||||
unsetopt nomatch 2>/dev/null
|
if [[ `which unsetopt` ]]; then
|
||||||
|
unsetopt nomatch 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# Expand a version using the version cache
|
# Expand a version using the version cache
|
||||||
nvm_version()
|
nvm_version()
|
||||||
|
Loading…
Reference in New Issue
Block a user