zsh: enable completion from packages in /usr/local
This commit is contained in:
parent
9170201712
commit
d14ebc7281
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
# Enable additional completions from packages in `/usr/local`.
|
||||
[ -d "/usr/local/share/zsh/vendor-completions" ] \
|
||||
&& fpath=("/usr/local/share/zsh/vendor-completions" $fpath)
|
||||
|
||||
zmodload zsh/complist
|
||||
autoload -Uz compinit
|
||||
compinit -d "$XDG_CACHE_HOME/zsh/.zcompdump"
|
||||
|
|
Loading…
Add table
Reference in a new issue