diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index 24c5e098e..b6c2bc3a3 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -208,6 +208,9 @@ in ${if cfg.history.ignoreDups then "setopt" else "unsetopt"} HIST_IGNORE_DUPS ${if cfg.history.share then "setopt" else "unsetopt"} SHARE_HISTORY + fpath+="$HOME/.nix-profile/share/zsh/site-functions" + fpath+="$HOME/.nix-profile/share/zsh/$ZSH_VERSION/functions" + HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help" ${concatStrings (map (plugin: ''