Homebrew The Missing Package Manager for macOS (or Linux)

This commit is contained in:
vonProteus 2024-04-27 10:57:04 +02:00 committed by Paweł Płazieński
parent 5861c7b0b6
commit e02984570b

13
zsh.d/40_brew.zsh Normal file
View File

@ -0,0 +1,13 @@
# 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