fix(brew)!: rename buf alias to bfu

BREAKING CHANGE: rename `buf` alias to `bfu` to avoid conflicts with
protobuf tool
This commit is contained in:
Carlo Sala 2023-01-19 12:20:44 +01:00
parent 61dd3682e6
commit f1a800067f
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A
2 changed files with 15 additions and 15 deletions

View file

@ -17,20 +17,20 @@ defined for convenience.
## Aliases ## Aliases
| Alias | Command | Description | | Alias | Command | Description |
| -------- | ------------------------------------- | ------------------------------------------------------------------- | | -------- | --------------------------------------- | ------------------------------------------------------------------- |
| `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. | | `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. |
| `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. |
| `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. | | `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. |
| `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. |
| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. | | `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. | | `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. | | `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. | | `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. | | `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 && bubc` | Do the last two operations above. |
| `buf` | `brew upgrade --formula` | Upgrade only formulas (not casks). | | `bfu` | `brew upgrade --formula` | Upgrade only formulas (not casks). |
| `buz` | `brew uninstall --zap` | Remove all files associated with a cask. | | `buz` | `brew uninstall --zap` | Remove all files associated with a cask. |
## Completion ## Completion

View file

@ -35,7 +35,7 @@ alias bugbc='brew upgrade --greedy && brew cleanup'
alias bubo='brew update && brew outdated' alias bubo='brew update && brew outdated'
alias bubu='bubo && bubc' alias bubu='bubo && bubc'
alias bubug='bubo && bugbc' alias bubug='bubo && bugbc'
alias buf='brew upgrade --formula' alias bfu='brew upgrade --formula'
alias buz='brew uninstall --zap' alias buz='brew uninstall --zap'
function brews() { function brews() {