diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2025-06-15 14:24:21 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2025-06-15 14:24:21 -0400 |
| commit | 782fee009985c1077175c980dfd7f82d864c5b27 (patch) | |
| tree | 6c5085db61edd877ff34170b44abed3bad93414b /homebrew/sync-brewfile.sh | |
| parent | add obsidian plugin and tweak bat shell settings (diff) | |
| download | dotfiles-782fee009985c1077175c980dfd7f82d864c5b27.zip | |
Update brewfile
Diffstat (limited to 'homebrew/sync-brewfile.sh')
| -rwxr-xr-x | homebrew/sync-brewfile.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/homebrew/sync-brewfile.sh b/homebrew/sync-brewfile.sh index 3768d7b..bf36e10 100755 --- a/homebrew/sync-brewfile.sh +++ b/homebrew/sync-brewfile.sh @@ -1,11 +1,15 @@ #!/bin/bash # Create a new Brewfile with only manually installed formulae and casks -(echo 'tap "homebrew/cask-fonts"'; \ - echo 'tap "neovim/neovim"'; \ - echo 'tap "eugenetriguba/bolt"'; \ - brew bundle dump --file=- --force | \ - (grep -E "^brew" | grep -f <(brew leaves) ; brew list --cask | sed 's/^/cask "/;s/$/"/') | \ - sort) > Brewfile +( + echo 'tap "neovim/neovim"' + echo 'tap "eugenetriguba/bolt"' + brew bundle dump --file=- --force | + ( + grep -E "^brew" | grep -f <(brew leaves) + brew list --cask | sed 's/^/cask "/;s/$/"/' + ) | + sort +) >Brewfile echo "Brewfile has been updated with only manually installed packages." |