1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 08:19:48 +01:00

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) { (mkIf (cfg.dotDir != null) {
home.file."${relToDotDir ".zshenv"}".text = '' home.file."${relToDotDir ".zshenv"}".text = ''
ZDOTDIR=${zdotdir} export ZDOTDIR=${zdotdir}
''; '';
# When dotDir is set, only use ~/.zshenv to source ZDOTDIR/.zshenv, # When dotDir is set, only use ~/.zshenv to source ZDOTDIR/.zshenv,