0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-12 04:01:14 +02:00

feat(brew)!: add brew upgrade alias (#7536)

BREAKING CHANGE: the `bubc` alias has been removed, as `brew cleanup`
is performed automatically. Instead, the `bup` alias is added to just
run `brew upgrade`.

See https://brew.sh/2019/02/02/homebrew-2.0.0

Closes #7536
This commit is contained in:
Katrin Leinweber 2019-12-29 17:53:50 +01:00 committed by Marc Cornellà
parent 27ca0c915b
commit 51d71e650c
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
2 changed files with 4 additions and 3 deletions

View file

@ -26,10 +26,11 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen
| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
| `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. |
| `bup` | `brew upgrade` | Upgrade outdated, unpinned brews (with existing install options). |
| `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. |
| `bubu` | `bubo && bup` | Do the last two operations above. |
| `bfu` | `brew upgrade --formula` | Upgrade only formulas (not casks). |
| `buz` | `brew uninstall --zap` | Remove all files associated with a cask. |

View file

@ -38,10 +38,10 @@ alias bcubc='brew upgrade --cask && brew cleanup'
alias bcubo='brew update && brew outdated --cask'
alias brewp='brew pin'
alias brewsp='brew list --pinned'
alias bubc='brew upgrade && brew cleanup'
alias bup='brew upgrade'
alias bugbc='brew upgrade --greedy && brew cleanup'
alias bubo='brew update && brew outdated'
alias bubu='bubo && bubc'
alias bubu='bubo && bup'
alias bubug='bubo && bugbc'
alias bfu='brew upgrade --formula'
alias buz='brew uninstall --zap'