From 766207ca1d52db37df5ca17b9bd3bd21a03dfafd Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Sun, 4 Jan 2015 02:02:59 +0300 Subject: [PATCH] zsh: profile-relative functions path This is needed mostly for autocompletion. --- nixos/modules/programs/zsh/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index 1857371ebe8..39f9671316e 100644 --- a/nixos/modules/programs/zsh/zsh.nix +++ b/nixos/modules/programs/zsh/zsh.nix @@ -105,6 +105,10 @@ in }; + environment.profileRelativeEnvVars = + { FPATH = [ "/share/zsh/site-functions" ]; + }; + environment.etc."zshenv".text = '' # /etc/zshenv: DO NOT EDIT -- this file has been generated automatically.