dotfiles/legacy/scripts/brews

16 lines
304 B
Plaintext
Raw Normal View History

2020-11-28 17:53:42 +00:00
#!/bin/sh
DOTS=$(dirname "$0")/..
cd "$DOTS" || (echo "Directory not found: $DOTS"; exit 1)
DOTS="$PWD"
all_brews() {
2021-05-16 22:03:18 +00:00
find "$DOTS/homebrew" \
-iname "*.Brewfile" \
-exec \
/usr/local/bin/brew bundle install --file "{}" \;
echo "all brews installed ✓"
2020-11-28 17:53:42 +00:00
}
all_brews