Mercurial > dotfiles
annotate .shell.d/20.homebrew.sh @ 532:f452d7f26e04 default tip
vcs_functions: add jj status to current branch info
This causes jj info to show up in my prompt. The first change to this since
2018!
| author | Augie Fackler <raf@durin42.com> |
|---|---|
| date | Sat, 11 Jul 2026 21:28:08 -0400 |
| parents | d3219c644f43 |
| children |
| rev | line source |
|---|---|
|
519
d3219c644f43
homebrew: handle x86 location too
Augie Fackler <raf@durin42.com>
parents:
515
diff
changeset
|
1 # ARM location |
|
515
0cb4d4ef79f4
env: use modern brew setup, conditional on it being installed
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
2 if [ -x /opt/homebrew/bin/brew ] ; then |
|
0cb4d4ef79f4
env: use modern brew setup, conditional on it being installed
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
3 eval "$(/opt/homebrew/bin/brew shellenv)" |
|
0cb4d4ef79f4
env: use modern brew setup, conditional on it being installed
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
4 fi |
|
519
d3219c644f43
homebrew: handle x86 location too
Augie Fackler <raf@durin42.com>
parents:
515
diff
changeset
|
5 # x86 location |
|
d3219c644f43
homebrew: handle x86 location too
Augie Fackler <raf@durin42.com>
parents:
515
diff
changeset
|
6 if [ -x /opt/brew/bin/brew ] ; then |
|
d3219c644f43
homebrew: handle x86 location too
Augie Fackler <raf@durin42.com>
parents:
515
diff
changeset
|
7 eval "$(/opt/brew/bin/brew shellenv)" |
|
d3219c644f43
homebrew: handle x86 location too
Augie Fackler <raf@durin42.com>
parents:
515
diff
changeset
|
8 fi |
