diff --git a/nvm.sh b/nvm.sh index 52c3751..4763aef 100644 --- a/nvm.sh +++ b/nvm.sh @@ -29,7 +29,7 @@ nvm_download() { } nvm_has_system_node() { - [ $(nvm deactivate 2> /dev/null && command -v node) != '' ] + [ "$(nvm deactivate 2> /dev/null && command -v node)" != '' ] } # Make zsh glob matching behave same as bash