浏览代码

fix(brew): rename `bc` alias to `bcn` to avoid conflict with command (#12582)

Fixes #12582
Marc Cornellà 8 月之前
父节点
当前提交
0a9a80a524
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      plugins/brew/README.md
  2. 1 1
      plugins/brew/brew.plugin.zsh

+ 1 - 1
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.                             |

+ 1 - 1
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'