homebrew

April 9, 2026 ยท View on GitHub

Zsh goodies for Homebrew users.

Description

Sets brew environment variables from brew shellenv and adds brewed completions to fpath.

Options

This plugin sets no Zsh options.

Functions

This plugin sets no functions.

Aliases

This plugin adds the following aliases:

aliasdescription
brewdepsShow brewed formulae and dependencies
brewinfoShow descriptions of brew installs
brewupbrew update/upgrade/cleanup

Variables

This plugin sets the following variables:

variabledescription
HOMEBREW_NO_ANALYTICSDisable Homebrew analytics (default: 1)

Customizations

To cache the results of brew shellenv:

zstyle ':zephyr:plugin:homebrew' 'use-cache' 'yes'

To set keg-only brews whose completions are added to fpath (default: curl ruby sqlite):

zstyle ':zephyr:plugin:homebrew' 'keg-only-brews' 'curl ruby sqlite'

To skip setting homebrew aliases:

zstyle ':zephyr:plugin:homebrew:alias' 'skip' 'yes'