aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-08-29 22:43:00 +0900
committernsfisis <nsfisis@gmail.com>2023-09-01 09:25:28 +0900
commit08448ec565189dac329a7ca90e27ead8e35733e1 (patch)
tree9c76f60c1dff6f68d58c9e7c006440ea12de3b00
parent39d46673237637381abadbcc3d6a6e00a3a0b227 (diff)
downloaddotfiles-08448ec565189dac329a7ca90e27ead8e35733e1.tar.gz
dotfiles-08448ec565189dac329a7ca90e27ead8e35733e1.tar.zst
dotfiles-08448ec565189dac329a7ca90e27ead8e35733e1.zip
zsh: update $PATH for newer homebrew
-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"