get nvm path in darwin

This commit is contained in:
hophacker 2020-11-11 09:41:14 +08:00
parent 30a1ec3837
commit 5d6f193721

View File

@ -24,3 +24,7 @@ export HELM_HOME="$HOME/.helm"
if [[ "$OSTYPE" != "darwin"* ]]; then
export PATH="$PATH:$HOME/.rvm/bin"
fi
if [[ "$(uname)" == "Darwin" ]]; then
source $(brew --prefix nvm)/nvm.sh
fi