use rvm if not in darwin

This commit is contained in:
hophackerzhcalvin 2020-07-13 09:46:46 +08:00
parent 3be99dc551
commit 5c90c8ab0c

View File

@ -21,4 +21,6 @@ export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export HELM_HOME="$HOME/.helm"
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
if [[ "$OSTYPE" != "darwin"* ]]; then
export PATH="$PATH:$HOME/.rvm/bin"
fi