changeset 519:d3219c644f43

homebrew: handle x86 location too
author Augie Fackler <raf@durin42.com>
date Wed, 08 Dec 2021 12:15:44 -0500
parents 62e62b885540
children 9af1fc9b713c
files .shell.d/20.homebrew.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.shell.d/20.homebrew.sh
+++ b/.shell.d/20.homebrew.sh
@@ -1,3 +1,8 @@
+# ARM location
 if [ -x /opt/homebrew/bin/brew ] ; then
     eval "$(/opt/homebrew/bin/brew shellenv)"
 fi
+# x86 location
+if [ -x /opt/brew/bin/brew ] ; then
+    eval "$(/opt/brew/bin/brew shellenv)"
+fi