summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorRoger Qiu <roger.qiu@polycademy.com>2016-07-29 20:36:06 +1000
committerRoger Qiu <roger.qiu@polycademy.com>2016-07-29 20:36:06 +1000
commitc0ff64c2e8bd8fa9e751c835fb5b060a9f870463 (patch)
tree3ecfb5bbb029645a51cdd7dcb7b8e332da338a73 /nixos/modules/programs
parent2fa9bd50597c3089cc00abb3f20d7510fcc8ad6a (diff)
downloadnixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar.gz
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar.bz2
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar.lz
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar.xz
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.tar.zst
nixlib-c0ff64c2e8bd8fa9e751c835fb5b060a9f870463.zip
zsh: Added HELPDIR variable for interactive shells, as the help directory is distribution specific, and will be useful for using `run-help`
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/zsh/zsh.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index b51104c16fa9..1b8b7a79593e 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -116,6 +116,8 @@ in
         done
 
         ${if cfg.enableCompletion then "autoload -U compinit && compinit" else ""}
+
+        HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
       '';
 
     };