zsh: made ZDOTDIR export to the shell (#4619)

This commit is contained in:
Nova Leary 2023-10-31 18:35:15 -05:00 committed by GitHub
parent 8e5416b478
commit 9bc7d84b82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -492,7 +492,7 @@ in
(mkIf (cfg.dotDir != null) {
home.file."${relToDotDir ".zshenv"}".text = ''
ZDOTDIR=${zdotdir}
export ZDOTDIR=${zdotdir}
'';
# When dotDir is set, only use ~/.zshenv to source ZDOTDIR/.zshenv,