my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.8 KiB

3 years ago
  1. # brew plugin
  2. The plugin adds several aliases for common [brew](https://brew.sh) commands.
  3. To use it, add `brew` to the plugins array of your zshrc file:
  4. ```zsh
  5. plugins=(... brew)
  6. ```
  7. ## Aliases
  8. | Alias | Command | Description |
  9. |----------|---------------------------------------|---------------------------------------------------------------------|
  10. | `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
  11. | `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
  12. | `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
  13. | `bubo` | `brew update && brew outdated` | Update Homebrew data, then list outdated formulae and casks. |
  14. | `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae and casks, then run cleanup. |
  15. | `bubu` | `bubo && bubc` | Do the last two operations above. |
  16. | `buf` | `brew upgrade --formula` | Upgrade only formulas (not casks). |
  17. | `bcubo` | `brew update && brew outdated --cask` | Update Homebrew data, then list outdated casks. |
  18. | `bcubc` | `brew upgrade --cask && brew cleanup` | Update outdated casks, then run cleanup. |
  19. ## Completion
  20. With the release of Homebrew 1.0, they decided to bundle the zsh completion as part of the
  21. brew installation, so we no longer ship it with the brew plugin; now it only has brew
  22. aliases. If you find that brew completion no longer works, make sure you have your Homebrew
  23. installation fully up to date.