Homebrew The Missing Package Manager for macOS (or Linux)
This commit is contained in:
parent
5861c7b0b6
commit
e02984570b
13
zsh.d/40_brew.zsh
Normal file
13
zsh.d/40_brew.zsh
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user