prezto/modules/homebrew
Yutian Li 005709d120 Cache brew shellenv results
This could sometimes be slow (as with any external command execution)
but the result should almost never change.
2024-04-08 20:48:57 -05:00
..
init.zsh Cache brew shellenv results 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

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.