mirror of https://github.com/akelge/zsh
Better autocompletion for Darwin too
This commit is contained in:
parent
ec13969e0f
commit
73455f0d9e
|
@ -0,0 +1,12 @@
|
||||||
|
if type brew &>/dev/null
|
||||||
|
then
|
||||||
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||||
|
#
|
||||||
|
# Reload compinit and bashcompinit, to parse brew installed completions
|
||||||
|
autoload -U compinit
|
||||||
|
autoload bashcompinit
|
||||||
|
compinit -u
|
||||||
|
bashcompinit
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue