From 1678548353ec2aaa59e4fd57ca5019c3b3057d64 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Wed, 23 Aug 2017 13:06:19 +0200 Subject: [PATCH] zsh: set HELPDIR --- modules/programs/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index b8f203ee..32f30aaf 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -112,6 +112,8 @@ in fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions) done + HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help" + ${if cfg.enableCompletion then "autoload -U compinit && compinit" else ""} ${optionalString (cfg.enableAutosuggestions) "source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"