Skip to content

Commit 003cd41

Browse files
committedJun 26, 2017
zsh: extend default $fpath configured by NixOS to find "vendor-completions"
1 parent ea44ca4 commit 003cd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/programs/zsh/zsh.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ in
117117
118118
# Tell zsh how to find installed completions
119119
for p in ''${(z)NIX_PROFILES}; do
120-
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions)
120+
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
121121
done
122122
123123
${if cfg.enableCompletion then "autoload -U compinit && compinit" else ""}

0 commit comments

Comments
 (0)
Please sign in to comment.