aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 30bf832..32f99dc 100644
--- a/.zshrc
+++ b/.zshrc
@@ -432,7 +432,9 @@ fi
export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
# To override system-provided Ruby with brewed Ruby
-export PATH="/usr/local/opt/ruby/bin:$PATH"
+if [[ "$(uname)" == "Darwin" ]]; then
+ export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
+fi
export PATH="$HOME/go/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"