diff .shell.d/20.homebrew.sh @ 515:0cb4d4ef79f4

env: use modern brew setup, conditional on it being installed
author Augie Fackler <raf@durin42.com>
date Thu, 02 Dec 2021 22:08:30 -0500
parents
children d3219c644f43
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/.shell.d/20.homebrew.sh
@@ -0,0 +1,3 @@
+if [ -x /opt/homebrew/bin/brew ] ; then
+    eval "$(/opt/homebrew/bin/brew shellenv)"
+fi