From 003cd41310b5b7839eb4c402d84dc25068026c3e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Jun 2017 10:49:02 +0200 Subject: [PATCH] zsh: extend default $fpath configured by NixOS to find "vendor-completions" --- nixos/modules/programs/zsh/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""}