prezto/modules/homebrew
Indrajit Raychaudhuri 775f14d0c3 homebrew: Simplify caching `brew shellenv`
Avoid checking age of cache file and just test for its existence.
While this is simpler, this also avoids depending on having
`EXTENDED_GLOB` enabled.
2024-04-08 20:48:57 -05:00
..
README.md general: Documentation update for zstyle based alias skipping support 2023-05-17 02:39:09 -05:00
init.zsh homebrew: Simplify caching `brew shellenv` 2024-04-08 20:48:57 -05:00

README.md

Homebrew

Defines Homebrew specific environment variables and aliases.

Variables

Execute the following to list the environment variables loaded in the shell:

brew shellenv

Aliases

Aliases are enabled by default. To disable them, add the following to ${ZDOTDIR:-$HOME}/.zpreztorc.

zstyle ':prezto:module:homebrew:alias' skip 'yes'

Homebrew Core

  • brewc cleans outdated brews and their cached archives.
  • brewi installs a formula.
  • brewL lists installed formulae that are not dependencies of another installed formula.
  • brewl lists installed formulae.
  • brewo lists brews which have an update available.
  • brews searches for a formula.
  • brewu upgrades outdated formulae.
  • brewx uninstalls a formula.

Homebrew Cask

  • caski installs a cask.
  • caskl lists installed casks.
  • casko lists casks which have an update available.
  • casks searches for a cask.
  • casku upgrades outdated casks.
  • caskx uninstalls a cask.

Authors

The authors of this module should be contacted via the issue tracker.