mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 16:10:14 +00:00
change macos directory layout
This commit is contained in:
15
macos/scripts/brews
Executable file
15
macos/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