blob: bf36e106110493b0efe32e424c48791af6ffe9f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# Create a new Brewfile with only manually installed formulae and casks
(
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."
|