about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-08-05 16:45:28 +0200
committerGitHub <noreply@github.com>2016-08-05 16:45:28 +0200
commit632f9060f1257f3cb45df2a64709cd48efa4238c (patch)
treea1c4592bbffe9ded6f01ee246771bb0330370768 /nixos
parentb7a4ef1a87ceab7ddf2bd212fecb38f4800e746f (diff)
parentc0ff64c2e8bd8fa9e751c835fb5b060a9f870463 (diff)
downloadnixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar.gz
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar.bz2
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar.lz
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar.xz
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.tar.zst
nixlib-632f9060f1257f3cb45df2a64709cd48efa4238c.zip
Merge pull request #17363 from MatrixAI/zsh-helpdir
zsh: Added HELPDIR variable for interactive shells
Diffstat (limited to 'nixos')
-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"
       '';
 
     };