mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-27 08:44:52 +00:00
16 lines
304 B
Bash
Executable File
16 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DOTS=$(dirname "$0")/..
|
|
cd "$DOTS" || (echo "Directory not found: $DOTS"; exit 1)
|
|
DOTS="$PWD"
|
|
|
|
all_brews() {
|
|
find "$DOTS/homebrew" \
|
|
-iname "*.Brewfile" \
|
|
-exec \
|
|
/usr/local/bin/brew bundle install --file "{}" \;
|
|
echo "all brews installed ✓"
|
|
}
|
|
|
|
all_brews
|