summaryrefslogtreecommitdiff
path: root/plugins/brew
diff options
context:
space:
mode:
authorMarc Cornellà <marc@mcornella.com>2024-07-27 16:44:20 +0200
committerMarc Cornellà <marc@mcornella.com>2024-07-27 16:44:20 +0200
commit0a9a80a524ca277ed6573e233204806f800a9292 (patch)
tree0ab4fdfc5ff689c43dbaeaf1688433d794710ac8 /plugins/brew
parent06ced8274de7c2edd19cd5be4642bb0ec0772437 (diff)
downloadzsh-0a9a80a524ca277ed6573e233204806f800a9292.tar.gz
zsh-0a9a80a524ca277ed6573e233204806f800a9292.tar.bz2
zsh-0a9a80a524ca277ed6573e233204806f800a9292.zip
fix(brew): rename `bc` alias to `bcn` to avoid conflict with command (#12582)
Fixes #12582
Diffstat (limited to 'plugins/brew')
-rw-r--r--plugins/brew/README.md2
-rw-r--r--plugins/brew/brew.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
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'