Mercurial > dotfiles
comparison .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 |
comparison
equal
deleted
inserted
replaced
518:62e62b885540 | 519:d3219c644f43 |
---|---|
1 # ARM location | |
1 if [ -x /opt/homebrew/bin/brew ] ; then | 2 if [ -x /opt/homebrew/bin/brew ] ; then |
2 eval "$(/opt/homebrew/bin/brew shellenv)" | 3 eval "$(/opt/homebrew/bin/brew shellenv)" |
3 fi | 4 fi |
5 # x86 location | |
6 if [ -x /opt/brew/bin/brew ] ; then | |
7 eval "$(/opt/brew/bin/brew shellenv)" | |
8 fi |