mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Make NVM_DIR check consistent with others
This commit is contained in:
parent
2e14066128
commit
1b01447272
@ -1,6 +1,4 @@
|
|||||||
if [ -z "$NVM_DIR" ]; then
|
[[ -z "$NVM_DIR" ]] && NVM_DIR="$HOME/.nvm"
|
||||||
NVM_DIR="$HOME/.nvm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_zsh_nvm_has() {
|
_zsh_nvm_has() {
|
||||||
type "$1" > /dev/null 2>&1
|
type "$1" > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user