Skip to content

Commit

Permalink
zsh: extend default $fpath configured by NixOS to find "vendor-comple…
Browse files Browse the repository at this point in the history
…tions"
  • Loading branch information
peti committed Jun 26, 2017
1 parent ea44ca4 commit 003cd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/zsh/zsh.nix
Expand Up @@ -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 ""}
Expand Down

0 comments on commit 003cd41

Please sign in to comment.