brew: Make install script robust to aliases
This commit is contained in:
parent
34af3ad667
commit
feb5f59c34
2 changed files with 5 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ entr
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
github/gh/gh
|
github/gh/gh
|
||||||
gpg2
|
gnupg
|
||||||
htop
|
htop
|
||||||
jq
|
jq
|
||||||
moreutils
|
moreutils
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
comm -13 <(brew list) brew/formulae | xargs brew install
|
set -eo pipefail
|
||||||
comm -13 <(brew cask list) brew/casks | xargs brew cask install
|
|
||||||
|
comm -13 <(brew list --full-name | sort) brew/formulae | xargs brew install -t
|
||||||
|
comm -13 <(brew cask list) brew/casks | xargs brew cask install -t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue