1
0
Fork 0

support for new version of nodenv

pull/1001/head
Sean Zeng 9 years ago
parent 3eaefdb7f0
commit ef1a8d1a8d

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

Loading…
Cancel
Save