From 51d71e650c369a5c3805a629c1efd314b5628921 Mon Sep 17 00:00:00 2001 From: Katrin Leinweber <9948149+katrinleinweber@users.noreply.github.com> Date: Sun, 29 Dec 2019 17:53:50 +0100 Subject: 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 --- plugins/brew/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index 299393b28..9cd9c249d 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -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. | -- cgit v1.2.3-70-g09d2 From 944203aee3705c94dd6e0fa3469ed33009b1891e Mon Sep 17 00:00:00 2001 From: Alessandro Agnelli Date: Mon, 4 May 2020 15:46:27 +0200 Subject: feat(brew): add aliases for cask and other commands (#8882) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #8871 Co-authored-by: Marc Cornellà --- plugins/brew/README.md | 18 ++++++++++++++---- plugins/brew/brew.plugin.zsh | 17 ++++++++++++++--- 2 files changed, 28 insertions(+), 7 deletions(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index 9cd9c249d..2d099d742 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -21,17 +21,27 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | Alias | Command | Description | | -------- | --------------------------------------- | ------------------------------------------------------------------- | -| `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. | +| `bc` | `brew cleanup` | Run cleanup. | +| `bci` | `brew info --cask` | Display information about the given cask. | +| `bcin` | `brew install --cask` | Install the given cask. | +| `bcl` | `brew list --cask` | List installed casks. | +| `bco` | `brew outdated --cask` | Report all outdated casks. | +| `bcrin` | `brew reinstall --cask` | Reinstall the given cask. | +| `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | | `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). | +| `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. | | `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). | +| `bu` | `brew update` | Update brew and all installed formulae. | | `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 && bup` | Do the last two operations above. | -| `bfu` | `brew upgrade --formula` | Upgrade only formulas (not casks). | +| `bugbc` | `brew upgrade --greedy && brew cleanup` | Upgrade outdated formulae and casks (greedy), then run cleanup. | +| `bup` | `brew upgrade` | Upgrade outdated, unpinned brews. | | `buz` | `brew uninstall --zap` | Remove all files associated with a cask. | ## Completion diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index f2e7e6cff..717a2d82a 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -34,16 +34,27 @@ if [[ -d "$HOMEBREW_PREFIX/share/zsh/site-functions" ]]; then fpath+=("$HOMEBREW_PREFIX/share/zsh/site-functions") fi +alias bc='brew cleanup' +alias bci='brew info --cask' +alias bcin='brew install --cask' +alias bcl='brew list --cask' +alias bco='brew outdated --cask' +alias bcrin='brew reinstall --cask' 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 bl='brew list' +alias bo='brew outdated' alias brewp='brew pin' alias brewsp='brew list --pinned' -alias bup='brew upgrade' -alias bugbc='brew upgrade --greedy && brew cleanup' +alias bu='brew update' alias bubo='brew update && brew outdated' alias bubu='bubo && bup' alias bubug='bubo && bugbc' -alias bfu='brew upgrade --formula' +alias bugbc='brew upgrade --greedy && brew cleanup' +alias bup='brew upgrade' +alias bup='brew upgrade' alias buz='brew uninstall --zap' function brews() { -- cgit v1.2.3-70-g09d2 From 8b6f0b1dfbe2634c5b35f8c03f88edf2fdf20b36 Mon Sep 17 00:00:00 2001 From: Celestino Gomes Date: Fri, 24 Sep 2021 17:12:45 -0300 Subject: feat(brew): add aliases for `brew services` (#10215) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #10215 Co-authored-by: Marc Cornellà --- plugins/brew/README.md | 55 +++++++++++++++++++++++++------------------- plugins/brew/brew.plugin.zsh | 7 ++++++ 2 files changed, 38 insertions(+), 24 deletions(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index 2d099d742..d70fe5842 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -19,30 +19,37 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen ## Aliases -| Alias | Command | Description | -| -------- | --------------------------------------- | ------------------------------------------------------------------- | -| `bc` | `brew cleanup` | Run cleanup. | -| `bci` | `brew info --cask` | Display information about the given cask. | -| `bcin` | `brew install --cask` | Install the given cask. | -| `bcl` | `brew list --cask` | List installed casks. | -| `bco` | `brew outdated --cask` | Report all outdated casks. | -| `bcrin` | `brew reinstall --cask` | Reinstall the given cask. | -| `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | -| `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). | -| `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. | -| `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. | -| `bu` | `brew update` | Update brew and all installed formulae. | -| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. | -| `bubo` | `brew update && brew outdated` | Update Homebrew data, then list outdated formulae and casks. | -| `bubu` | `bubo && bup` | Do the last two operations above. | -| `bugbc` | `brew upgrade --greedy && brew cleanup` | Upgrade outdated formulae and casks (greedy), then run cleanup. | -| `bup` | `brew upgrade` | Upgrade outdated, unpinned brews. | -| `buz` | `brew uninstall --zap` | Remove all files associated with a cask. | +| Alias | Command | Description | +| -------- | --------------------------------------- | --------------------------------------------------------------------- | +| `bc` | `brew cleanup` | Run cleanup. | +| `bci` | `brew info --cask` | Display information about the given cask. | +| `bcin` | `brew install --cask` | Install the given cask. | +| `bcl` | `brew list --cask` | List installed casks. | +| `bco` | `brew outdated --cask` | Report all outdated casks. | +| `bcrin` | `brew reinstall --cask` | Reinstall the given cask. | +| `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | +| `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). | +| `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. | +| `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. | +| `bsl` | `brew services list` | List all running services. | +| `bsoff` | `brew services stop` | Stop the service and unregister it from launching at login (or boot). | +| `bsoffa` | `bsoff --all` | Stop all started services. | +| `bson` | `brew services start` | Start the service and register it to launch at login (or boot). | +| `bsona` | `bson --all` | Start all stopped services. | +| `bsr` | `brew services run` | Run the service without registering to launch at login (or boot). | +| `bsra` | `bsr --all` | Run all stopped services. | +| `bu` | `brew update` | Update brew and all installed formulae. | +| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. | +| `bubo` | `brew update && brew outdated` | Update Homebrew data, then list outdated formulae and casks. | +| `bubu` | `bubo && bup` | Do the last two operations above. | +| `bugbc` | `brew upgrade --greedy && brew cleanup` | Upgrade outdated formulae and casks (greedy), then run cleanup. | +| `bup` | `brew upgrade` | Upgrade outdated, unpinned brews. | +| `buz` | `brew uninstall --zap` | Remove all files associated with a cask. | ## Completion diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 717a2d82a..416c56bb0 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -48,6 +48,13 @@ alias bl='brew list' alias bo='brew outdated' alias brewp='brew pin' alias brewsp='brew list --pinned' +alias bsl='brew services list' +alias bsoff='brew services stop' +alias bsoffa='bsoff --all' +alias bson='brew services start' +alias bsona='bson --all' +alias bsr='brew services run' +alias bsra='bsr --all' alias bu='brew update' alias bubo='brew update && brew outdated' alias bubu='bubo && bup' -- cgit v1.2.3-70-g09d2 From 9a0e4f0acabbe3562e0ff1a33c4ac0064f3d196c Mon Sep 17 00:00:00 2001 From: Martin Beentjes Date: Mon, 7 Feb 2022 09:26:12 +0100 Subject: feat(brew): add `brew install` alias (#10660) Closes #10660 --- plugins/brew/README.md | 1 + plugins/brew/brew.plugin.zsh | 1 + 2 files changed, 2 insertions(+) (limited to 'plugins/brew/README.md') 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' -- cgit v1.2.3-70-g09d2 From 64c2c049aaa7b33673b4d15a69b02ec87b8dd9b8 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Mon, 22 Jul 2024 23:21:02 +0200 Subject: feat(brew): add `brew autoremove` alias (#12574) Closes #12574 --- plugins/brew/README.md | 3 ++- plugins/brew/brew.plugin.zsh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index 347bf3546..fb07ebe10 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -21,6 +21,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | Alias | Command | Description | | -------- | --------------------------------------- | --------------------------------------------------------------------- | +| `ba` | `brew autoremove` | Uninstall unnecessary formulae. | | `bc` | `brew cleanup` | Run cleanup. | | `bci` | `brew info --cask` | Display information about the given cask. | | `bcin` | `brew install --cask` | Install the given cask. | @@ -30,7 +31,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | | `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). | +| `bfu` | `brew upgrade --formula` | Upgrade only formulae (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. | diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 155330c35..52ef3fd57 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -34,6 +34,7 @@ if [[ -d "$HOMEBREW_PREFIX/share/zsh/site-functions" ]]; then fpath+=("$HOMEBREW_PREFIX/share/zsh/site-functions") fi +alias ba='brew autoremove' alias bc='brew cleanup' alias bci='brew info --cask' alias bcin='brew install --cask' -- cgit v1.2.3-70-g09d2 From 0a9a80a524ca277ed6573e233204806f800a9292 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Sat, 27 Jul 2024 16:44:20 +0200 Subject: fix(brew): rename `bc` alias to `bcn` to avoid conflict with command (#12582) Fixes #12582 --- plugins/brew/README.md | 2 +- plugins/brew/brew.plugin.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index fb07ebe10..c952bfdb9 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -22,10 +22,10 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | Alias | Command | Description | | -------- | --------------------------------------- | --------------------------------------------------------------------- | | `ba` | `brew autoremove` | Uninstall unnecessary formulae. | -| `bc` | `brew cleanup` | Run cleanup. | | `bci` | `brew info --cask` | Display information about the given cask. | | `bcin` | `brew install --cask` | Install the given cask. | | `bcl` | `brew list --cask` | List installed casks. | +| `bcn` | `brew cleanup` | Run cleanup. | | `bco` | `brew outdated --cask` | Report all outdated casks. | | `bcrin` | `brew reinstall --cask` | Reinstall the given cask. | | `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 52ef3fd57..9a9b58d85 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -35,10 +35,10 @@ if [[ -d "$HOMEBREW_PREFIX/share/zsh/site-functions" ]]; then fi alias ba='brew autoremove' -alias bc='brew cleanup' alias bci='brew info --cask' alias bcin='brew install --cask' alias bcl='brew list --cask' +alias bcn='brew cleanup' alias bco='brew outdated --cask' alias bcrin='brew reinstall --cask' alias bcubc='brew upgrade --cask && brew cleanup' -- cgit v1.2.3-70-g09d2 From bc337e9a9e45d35d58d11c7ac2429ffc19cfbdd6 Mon Sep 17 00:00:00 2001 From: 13steinj <13steinj@users.noreply.github.com> Date: Thu, 1 Aug 2024 10:17:57 -0500 Subject: docs(brew): remove reference to bubc (#12592) --- plugins/brew/README.md | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index c952bfdb9..fccda65b9 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -46,7 +46,6 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | `bsr` | `brew services run` | Run the service without registering to launch at login (or boot). | | `bsra` | `bsr --all` | Run all stopped services. | | `bu` | `brew update` | Update brew and all installed formulae. | -| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. | | `bubo` | `brew update && brew outdated` | Update Homebrew data, then list outdated formulae and casks. | | `bubu` | `bubo && bup` | Do the last two operations above. | | `bugbc` | `brew upgrade --greedy && brew cleanup` | Upgrade outdated formulae and casks (greedy), then run cleanup. | -- cgit v1.2.3-70-g09d2 From 7b516064ec099ef3438024dc264972b4251d8c1a Mon Sep 17 00:00:00 2001 From: Conor Meagher Date: Sat, 6 Sep 2025 00:49:07 -0500 Subject: feat(brew): add three more aliases (#13285) --- plugins/brew/README.md | 3 +++ plugins/brew/brew.plugin.zsh | 3 +++ 2 files changed, 6 insertions(+) (limited to 'plugins/brew/README.md') diff --git a/plugins/brew/README.md b/plugins/brew/README.md index fccda65b9..89c902ee4 100644 --- a/plugins/brew/README.md +++ b/plugins/brew/README.md @@ -22,6 +22,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | Alias | Command | Description | | -------- | --------------------------------------- | --------------------------------------------------------------------- | | `ba` | `brew autoremove` | Uninstall unnecessary formulae. | +| `bcfg` | `brew config` | Show Homebrew and system configuration info useful for debugging. | | `bci` | `brew info --cask` | Display information about the given cask. | | `bcin` | `brew install --cask` | Install the given cask. | | `bcl` | `brew list --cask` | List installed casks. | @@ -31,6 +32,7 @@ the `brew` binary before sourcing `oh-my-zsh.sh` and it'll set up the environmen | `bcubc` | `brew upgrade --cask && brew cleanup` | Upgrade outdated casks, then run cleanup. | | `bcubo` | `brew update && brew outdated --cask` | Update Homebrew data, then list outdated casks. | | `bcup` | `brew upgrade --cask` | Upgrade all outdated casks. | +| `bdr` | `brew doctor` | Check your system for potential problems. | | `bfu` | `brew upgrade --formula` | Upgrade only formulae (not casks). | | `bi` | `brew install` | Install a formula. | | `bl` | `brew list` | List all installed formulae. | @@ -38,6 +40,7 @@ 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. | +| `bs` | `brew search` | Perform a substring search of cask tokens and formula names for text. | | `bsl` | `brew services list` | List all running services. | | `bsoff` | `brew services stop` | Stop the service and unregister it from launching at login (or boot). | | `bsoffa` | `bsoff --all` | Stop all started services. | diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 4dab6f413..432a36076 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -35,6 +35,7 @@ if [[ -d "$HOMEBREW_PREFIX/share/zsh/site-functions" ]]; then fi alias ba='brew autoremove' +alias bcfg='brew config' alias bci='brew info --cask' alias bcin='brew install --cask' alias bcl='brew list --cask' @@ -44,12 +45,14 @@ alias bcrin='brew reinstall --cask' alias bcubc='brew upgrade --cask && brew cleanup' alias bcubo='brew update && brew outdated --cask' alias bcup='brew upgrade --cask' +alias bdr='brew doctor' alias bfu='brew upgrade --formula' alias bi='brew install' alias bl='brew list' alias bo='brew outdated' alias brewp='brew pin' alias brewsp='brew list --pinned' +alias bs='brew search' alias bsl='brew services list' alias bsoff='brew services stop' alias bsoffa='bsoff --all' -- cgit v1.2.3-70-g09d2