Skip to content

Commit

Permalink
brew: Make install script robust to aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Kaplan committed Feb 8, 2020
1 parent 34af3ad commit feb5f59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion brew/formulae
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ entr
fd
fzf
github/gh/gh
gpg2
gnupg
htop
jq
moreutils
Expand Down
6 changes: 4 additions & 2 deletions brew/install
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash

comm -13 <(brew list) brew/formulae | xargs brew install
comm -13 <(brew cask list) brew/casks | xargs brew cask install
set -eo pipefail

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

0 comments on commit feb5f59

Please sign in to comment.