14 lines
269 B
Bash
14 lines
269 B
Bash
# vim: ft=zsh
|
|
# https://brew.sh/
|
|
|
|
HOMEBREW_PREFIX=${HOMEBREW_PREFIX:-/opt/homebrew}
|
|
|
|
if [[ ! -f "${HOMEBREW_PREFIX}/bin/brew" ]]; then
|
|
return
|
|
fi
|
|
|
|
eval "$($HOMEBREW_PREFIX/bin/brew shellenv)"
|
|
|
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
|
autoload -Uz compinit
|