From 6094dac1c1a3222d25289a5b26ba83593bdcaa88 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 30 Dec 2015 09:45:13 -0800 Subject: [PATCH] [Fix] `nvm debug` was printing a red herring error message in non-zsh. --- nvm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nvm.sh b/nvm.sh index c9afed3..9980515 100755 --- a/nvm.sh +++ b/nvm.sh @@ -1546,6 +1546,7 @@ nvm() { "debug" ) local ZHS_HAS_SHWORDSPLIT_UNSET + ZHS_HAS_SHWORDSPLIT_UNSET=1 if nvm_has "setopt"; then ZHS_HAS_SHWORDSPLIT_UNSET=$(setopt | command grep shwordsplit > /dev/null ; echo $?) setopt shwordsplit