mirror of
https://github.com/akelge/zsh
synced 2025-08-16 06:48:34 +00:00
Better autocompletion for Darwin too
This commit is contained in:
12
zsh.d/Darwin/60-complete.zsh
Normal file
12
zsh.d/Darwin/60-complete.zsh
Normal file
@ -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
|
||||||
|
|
Reference in New Issue
Block a user