Browse Source

feat(brew): add `brew install` alias (#10660)

Closes #10660
Martin Beentjes 3 years ago
parent
commit
9a0e4f0aca
2 changed files with 2 additions and 0 deletions
  1. 1 0
      plugins/brew/README.md
  2. 1 0
      plugins/brew/brew.plugin.zsh

+ 1 - 0
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.                       |
 | `bcubo`  | `brew update && brew outdated --cask`   | Update Homebrew data, then list outdated casks.                       |
 | `bcup`   | `brew upgrade --cask`                   | Upgrade all outdated casks.                                           |
 | `bcup`   | `brew upgrade --cask`                   | Upgrade all outdated casks.                                           |
 | `bfu`    | `brew upgrade --formula`                | Upgrade only formulas (not casks).                                    |
 | `bfu`    | `brew upgrade --formula`                | Upgrade only formulas (not casks).                                    |
+| `bi`     | `brew install`                          | Install a formula.                                                    |
 | `bl`     | `brew list`                             | List all installed formulae.                                          |
 | `bl`     | `brew list`                             | List all installed formulae.                                          |
 | `bo`     | `brew outdated`                         | List installed formulae that have an updated version available.       |
 | `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.                    |
 | `brewp`  | `brew pin`                              | Pin a specified formula so that it's not upgraded.                    |

+ 1 - 0
plugins/brew/brew.plugin.zsh

@@ -44,6 +44,7 @@ alias bcubc='brew upgrade --cask && brew cleanup'
 alias bcubo='brew update && brew outdated --cask'
 alias bcubo='brew update && brew outdated --cask'
 alias bcup='brew upgrade --cask'
 alias bcup='brew upgrade --cask'
 alias bfu='brew upgrade --formula'
 alias bfu='brew upgrade --formula'
+alias bi='brew install'
 alias bl='brew list'
 alias bl='brew list'
 alias bo='brew outdated'
 alias bo='brew outdated'
 alias brewp='brew pin'
 alias brewp='brew pin'