zero.sh icon indicating copy to clipboard operation
zero.sh copied to clipboard

Delete missing items from Brewfile

Open brandonguigo opened this issue 2 years ago • 2 comments

Hi there !

I love the tool and use it as a setup as code for my macs. I would like to know if there is any possibility to delete missing brew items from the mac if there are not in the Brewfile anymore ?

Thanks for the work !

brandonguigo avatar May 22 '22 19:05 brandonguigo

For simple configs you can run brew bundle --cleanup --zap in a directory with a Brewfile, but this would be a good feature to add in zero for use with workspaces.

msanders avatar May 30 '22 20:05 msanders

Okay, I will try to add that sometime when I have time.

Will add a PR to this issue soon.

brandonguigo avatar May 30 '22 20:05 brandonguigo