Handle M1 homebrew setup if present

Fri, 06 May 2022 11:14:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 11:14:13 -0500
changeset 991
a925474b9558
parent 990
a4f19f325dea
child 992
4e3e37ce84bc

Handle M1 homebrew setup if present

.profile.common file | annotate | diff | comparison | revisions
--- a/.profile.common
+++ b/.profile.common
@@ -25,6 +25,10 @@ if [ -d ~/perl5/lib ]; then
   eval "$(perl -Mlocal::lib)"
 fi
 
+if [ -d /opt/homebrew ]; then
+  eval "$(/opt/homebrew/bin/brew shellenv)"
+fi
+
 if [ -d ~/.asdf ]; then
   source ~/.asdf/asdf.sh
 fi

mercurial