diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index b8f203ee9..32f30aaf9 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"