From 5c90c8ab0c18591f7603c3fcf2c6e355b534ab97 Mon Sep 17 00:00:00 2001 From: hophackerzhcalvin Date: Mon, 13 Jul 2020 09:46:46 +0800 Subject: [PATCH] use rvm if not in darwin --- zsh/prezto-override/zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/prezto-override/zshrc b/zsh/prezto-override/zshrc index b9acef9..3dc18de 100644 --- a/zsh/prezto-override/zshrc +++ b/zsh/prezto-override/zshrc @@ -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