# get the node.js versionfunction nvm_prompt_info(){[-f$HOME/.nvm/nvm.sh ]||returnlocal nvm_promptnvm_prompt=$(node -v 2>/dev/null)[["${nvm_prompt}x"=="x"]]&&returnnvm_prompt=${nvm_prompt:1}echo"${ZSH_THEME_NVM_PROMPT_PREFIX}${nvm_prompt}${ZSH_THEME_NVM_PROMPT_SUFFIX}"}