zplug: Update the path of init.zsh (#3922)

The current zplug nixpkgs puts everything under `$out/`. It pollutes the nix
profile dir.

This is a breaking change. It depends on an change of the output path in the
nixpkgs zplug package.
This commit is contained in:
Sinkerine 2023-04-29 02:08:16 -07:00 committed by GitHub
parent c4f3a37071
commit 27d89b49e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ in {
programs.zsh.initExtraBeforeCompInit = ''
export ZPLUG_HOME=${cfg.zplugHome}
source ${pkgs.zplug}/init.zsh
source ${pkgs.zplug}/share/zplug/init.zsh
${optionalString (cfg.plugins != [ ]) ''
${concatStrings (map (plugin: ''