changeset 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 ea947b2b04a0
children dbe413154ccd
files .shell.d/20.homebrew.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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