adding zsh homebrew completions if homebrew is installed
This commit is contained in:
parent
68e2b1fd81
commit
ea489444b6
1 changed files with 7 additions and 0 deletions
|
@ -53,3 +53,10 @@ zstyle ':completion:*:ssh:*' tag-order users 'hosts:-host hosts:-domain:domain h
|
|||
zstyle ':completion:*:ssh:*' group-order hosts-domain hosts-host users hosts-ipaddr
|
||||
zstyle '*' single-ignored show
|
||||
|
||||
# include homebrew completions if available
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue