Brew
Added config for brew
This commit is contained in:
parent
1dd4365a11
commit
621a01fa6c
1 changed files with 15 additions and 0 deletions
|
@ -83,8 +83,23 @@ plugins=(
|
|||
node
|
||||
nvm
|
||||
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 identities id_rsa
|
||||
|
||||
|
|
Loading…
Reference in a new issue