view .shell.d/20.homebrew.sh @ 519:d3219c644f43

homebrew: handle x86 location too
author Augie Fackler <raf@durin42.com>
date Wed, 08 Dec 2021 12:15:44 -0500
parents 0cb4d4ef79f4
children
line wrap: on
line source

# 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