From 12463fb3169d0d87806285bf0e57df1d86a9214a Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Fri, 7 Oct 2022 08:21:57 -0500 Subject: [PATCH] .bashrc: Updates for new-style macOS homebrew paths New installs of homebrew install into /opt/homebrew instead of /usr/local. --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 22a4bc3..c9b35b2 100644 --- a/.bashrc +++ b/.bashrc @@ -79,9 +79,9 @@ path_start="$path_start:$HOME/bin" test -d "$HOME/sbin" && path_start="$path_start:$HOME/sbin" # macOS homebrew: include non-prefixed coreutils -if [ -d "/usr/local/opt/coreutils/libexec" ]; then - path_start="$path_start:/usr/local/opt/coreutils/libexec/gnubin" - manpath_start="$manpath_start:/usr/local/opt/coreutils/libexec/gnuman" +if [ -d "/opt/homebrew/opt/coreutils/libexec" ]; then + path_start="$path_start:/opt/homebrew/opt/coreutils/libexec/gnubin" + manpath_start="$manpath_start:/opt/homebrew/opt/coreutils/libexec/gnuman" fi # SmartOS: local pkgin binaries -- 2.45.2