From 9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c Mon Sep 17 00:00:00 2001 From: Martin Beentjes Date: Mon, 7 Feb 2022 09:26:12 +0100 Subject: [PATCH] feat(brew): add `brew install` alias (#10660) Closes #10660 --- plugins/brew/README.md | 1 + plugins/brew/brew.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/brew/README.md b/plugins/brew/README.md index d70fe5842..347bf3546 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -31,6 +31,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | `bcubo` | `brew update && brew outdated --cask` | Update Homebrew data, then list outdated casks. | | `bcup` | `brew upgrade --cask` | Upgrade all outdated casks. | | `bfu` | `brew upgrade --formula` | Upgrade only formulas (not casks). | +| `bi` | `brew install` | Install a formula. | | `bl` | `brew list` | List all installed formulae. | | `bo` | `brew outdated` | List installed formulae that have an updated version available. | | `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. | diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 416c56bb0..155330c35 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -44,6 +44,7 @@ alias bcubc='brew upgrade --cask && brew cleanup' alias bcubo='brew update && brew outdated --cask' alias bcup='brew upgrade --cask' alias bfu='brew upgrade --formula' +alias bi='brew install' alias bl='brew list' alias bo='brew outdated' alias brewp='brew pin'