diff --git a/nvm.sh b/nvm.sh index ef593cb..5a83d15 100755 --- a/nvm.sh +++ b/nvm.sh @@ -68,7 +68,7 @@ nvm_print_npm_version() { # Make zsh glob matching behave same as bash # This fixes the "zsh: no matches found" errors -if [ -z "${NVM_CD_FLAGS-}"]; then +if [ -z "${NVM_CD_FLAGS-}" ]; then export NVM_CD_FLAGS='' fi if nvm_has "unsetopt"; then