diff options
author | Peter Simons <simons@cryp.to> | 2017-06-26 10:49:02 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-06-26 10:50:52 +0200 |
commit | 003cd41310b5b7839eb4c402d84dc25068026c3e (patch) | |
tree | 2f58179387de850ea426d81ef61f224618bc573b /nixos/modules/programs/zsh/zsh.nix | |
parent | ea44ca47f31b4c798e26e4fe074c63920ecb2ba0 (diff) | |
download | nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar.gz nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar.bz2 nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar.lz nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar.xz nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.tar.zst nixpkgs-003cd41310b5b7839eb4c402d84dc25068026c3e.zip |
zsh: extend default $fpath configured by NixOS to find "vendor-completions"
Diffstat (limited to 'nixos/modules/programs/zsh/zsh.nix')
-rw-r--r-- | nixos/modules/programs/zsh/zsh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index acb3e987aee..b276bf9bb73 100644 --- a/nixos/modules/programs/zsh/zsh.nix +++ b/nixos/modules/programs/zsh/zsh.nix @@ -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 ""} |