Added config for brew
This commit is contained in:
Damien Broqua 2023-08-19 10:57:55 +02:00
parent 1dd4365a11
commit 621a01fa6c

View file

@ -83,8 +83,23 @@ plugins=(
node node
nvm nvm
emoji emoji
brew
) )
if type brew &>/dev/null
then
HOMEBREW_PREFIX="$(brew --prefix)"
if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]
then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
else
for COMPLETION in "${HOMEBREW_PREFIX}/etc/bash_completion.d/"*
do
[[ -r "${COMPLETION}" ]] && source "${COMPLETION}"
done
fi
fi
#zstyle :omz:plugins:ssh-agent agent-forwarding on #zstyle :omz:plugins:ssh-agent agent-forwarding on
#zstyle :omz:plugins:ssh-agent identities id_rsa #zstyle :omz:plugins:ssh-agent identities id_rsa