|
|
@ -16,7 +16,7 @@ typeset -gA node_info
|
|
|
|
if (( $+functions[nvm_version] )); then
|
|
|
|
if (( $+functions[nvm_version] )); then
|
|
|
|
version="${$(nvm_version)#v}"
|
|
|
|
version="${$(nvm_version)#v}"
|
|
|
|
elif (( $+commands[nodenv] )); then
|
|
|
|
elif (( $+commands[nodenv] )); then
|
|
|
|
version="${$(nodenv version)#v}"
|
|
|
|
version="${${$(nodenv version)#v}[(w)0]}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$version" != (none|) ]]; then
|
|
|
|
if [[ "$version" != (none|) ]]; then
|
|
|
|