summaryrefslogtreecommitdiff
path: root/plugins/brew
diff options
context:
space:
mode:
authorMartin Beentjes <martinbeentjes@users.noreply.github.com>2022-02-07 09:26:12 +0100
committerMarc Cornellà <marc@mcornella.com>2024-07-24 12:49:49 +0200
commit9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c (patch)
treec845bdeb0d34511b2f4b1e41b3f5f9f720108dc4 /plugins/brew
parent8b6f0b1dfbe2634c5b35f8c03f88edf2fdf20b36 (diff)
downloadzsh-9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c.tar.gz
zsh-9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c.tar.bz2
zsh-9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c.zip
feat(brew): add `brew install` alias (#10660)
Closes #10660
Diffstat (limited to 'plugins/brew')
-rw-r--r--plugins/brew/README.md1
-rw-r--r--plugins/brew/brew.plugin.zsh1
2 files changed, 2 insertions, 0 deletions
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'