view .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 source

if [ -x /opt/homebrew/bin/brew ] ; then
    eval "$(/opt/homebrew/bin/brew shellenv)"
fi