diff --git a/plugins/brew/README.md b/plugins/brew/README.md index cfaedccd8..4a42b3d74 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -26,12 +26,12 @@ defined for convenience. | `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. | | `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. | | `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. | +| `bugbc` | `brew upgrade --greedy && brew cleanup` | Upgrade outdated formulae and casks (greedy), then run cleanup. | | `bubo` | `brew update && brew outdated` | Update Homebrew data, then list outdated formulae and casks. | | `bubu` | `bubo && bubc` | Do the last two operations above. | | `buf` | `brew upgrade --formula` | Upgrade only formulas (not casks). | | `buz` | `brew uninstall --zap` | Remove all files associated with a cask. | - ## Completion With the release of Homebrew 1.0, they decided to bundle the zsh completion as part of the diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 808c50907..8275454a4 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -31,8 +31,10 @@ alias bcubc='brew upgrade --cask && brew cleanup' alias brewp='brew pin' alias brewsp='brew list --pinned' alias bubc='brew upgrade && brew cleanup' +alias bugbc='brew upgrade --greedy && brew cleanup' alias bubo='brew update && brew outdated' alias bubu='bubo && bubc' +alias bubug='bubo && bugbc' alias buf='brew upgrade --formula' alias buz='brew uninstall --zap'