Make NVM_DIR check consistent with others

This commit is contained in:
Luke Childs 2016-07-08 21:31:16 +01:00
parent 2e14066128
commit 1b01447272

View File

@ -1,6 +1,4 @@
if [ -z "$NVM_DIR" ]; then
NVM_DIR="$HOME/.nvm"
fi
[[ -z "$NVM_DIR" ]] && NVM_DIR="$HOME/.nvm"
_zsh_nvm_has() {
type "$1" > /dev/null 2>&1