From b1f656987e339e96141e200ff77aafe691190d1b Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 15 Feb 2024 20:53:37 +0100 Subject: [PATCH] chore: surprise, multiple bundle files --- knowledge base/homebrew.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/knowledge base/homebrew.md b/knowledge base/homebrew.md index ae3c8a5..503ffb3 100644 --- a/knowledge base/homebrew.md +++ b/knowledge base/homebrew.md @@ -57,23 +57,24 @@ brew tap 'homebrew/services' brew services start 'openssl-osx-ca' -# Bring an installation up to speed from a Brewfile. +# Bring an installation up to speed from Brewfiles. brew bundle brew bundle --global brew bundle --no-lock install --file "$HOME/Brewfile" -# Check what changes from a Brewfile. +# Check what changes from Brewfiles. +# Multiple files are merged in order. brew bundle check -brew bundle … check --file "$HOME/Brewfile" +brew bundle … check --file "$HOME/Brewfile" --file "$HOME/Work/Brewfile" -# Check what items not listed in a Brewfile would be removed. +# Check what items not listed in Brewfiles would be removed. brew bundle cleanup brew bundle … cleanup --file "$HOME/Brewfile" -# Remove items not listed in a Brewfile. +# Remove items not listed in Brewfiles. brew bundle … --cleanup --zap -# Dump all installed casks/formulae/images/taps into a Brewfile. +# Dump all installed casks/formulae/images/taps into Brewfiles. brew bundle dump