mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +00:00
zsh: add user nix-profile dir to fpath
Fixes zsh plugins installed to nix user profile via nixpkgs.
This commit is contained in:
parent
379e2c694b
commit
c7edde6ca4
1 changed files with 3 additions and 0 deletions
|
@ -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: ''
|
||||
|
|
Loading…
Reference in a new issue