mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 19:40:14 +00:00
hammerspoon and reorganize old files to legacy
This commit is contained in:
15
legacy/scripts/brews
Executable file
15
legacy/scripts/brews
Executable file
@ -0,0 +1,15 @@
|
||||
#!/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
|
Reference in New Issue
Block a user