zsh: extend default $fpath configured by NixOS to find "vendor-completions"
This commit is contained in:
parent
ea44ca47f3
commit
003cd41310
1 changed files with 1 additions and 1 deletions
|
@ -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 ""}
|
||||
|
|
Loading…
Reference in a new issue