···158158159159 HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
160160161161+ # Tell zsh how to find installed completions
162162+ for p in ''${(z)NIX_PROFILES}; do
163163+ fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
164164+ done
165165+161166 ${optionalString cfg.enableCompletion "autoload -U compinit && compinit"}
162167163168 ${optionalString (cfg.enableAutosuggestions)
···171176 ${cfg.interactiveShellInit}
172177173178 ${cfg.promptInit}
174174-175175- # Tell zsh how to find installed completions
176176- for p in ''${(z)NIX_PROFILES}; do
177177- fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
178178- done
179179180180 # Read system-wide modifications.
181181 if test -f /etc/zshrc.local; then