Honor NVM_DIR shell variable set externally

pull/980/head
shine 2017-06-17 17:36:33 +05:30
parent 64abb6476f
commit 2d92d9817f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
cite about-plugin cite about-plugin
about-plugin 'node version manager configuration' about-plugin 'node version manager configuration'
export NVM_DIR="$HOME/.nvm" [ -v $NVM_DIR ] && NVM_DIR="$HOME/.nvm"
# This loads nvm # This loads nvm
if command -v brew &>/dev/null && [ -s $(brew --prefix nvm)/nvm.sh ] if command -v brew &>/dev/null && [ -s $(brew --prefix nvm)/nvm.sh ]
then then