From c0ff64c2e8bd8fa9e751c835fb5b060a9f870463 Mon Sep 17 00:00:00 2001 From: Roger Qiu Date: Fri, 29 Jul 2016 20:36:06 +1000 Subject: [PATCH] zsh: Added HELPDIR variable for interactive shells, as the help directory is distribution specific, and will be useful for using `run-help` --- nixos/modules/programs/zsh/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index b51104c16fa..1b8b7a79593 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" ''; };