1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 05:03:52 +08:00

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

Closes #10660
This commit is contained in:
Martin Beentjes 2022-02-07 09:26:12 +01:00 committed by Marc Cornellà
parent 8b6f0b1dfb
commit 9a0e4f0aca
No known key found for this signature in database
GPG Key ID: 0314585E776A9C1B
2 changed files with 2 additions and 0 deletions

View File

@ -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. |

View File

@ -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'