zsh: extend default $fpath configured by NixOS to find "vendor-completions"

This commit is contained in:
Peter Simons 2017-06-26 10:49:02 +02:00
parent ea44ca47f3
commit 003cd41310

View file

@ -117,7 +117,7 @@ in
# Tell zsh how to find installed completions
for p in ''${(z)NIX_PROFILES}; do
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions)
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
done
${if cfg.enableCompletion then "autoload -U compinit && compinit" else ""}