From 08448ec565189dac329a7ca90e27ead8e35733e1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 29 Aug 2023 22:43:00 +0900 Subject: zsh: update $PATH for newer homebrew --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.zshrc') 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" -- cgit v1.2.3-70-g09d2