Honor NVM_DIR shell variable set externally
parent
64abb6476f
commit
2d92d9817f
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue