zsh: respect xdg.enable for dotDir

Make sure we actually respect a user's `xdg.enable` preference.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2025-12-27 13:12:11 -06:00
parent ea6dfabe3c
commit f84f474c1b
4 changed files with 43 additions and 5 deletions

View File

@@ -15,3 +15,7 @@ changes are only active if the `home.stateVersion` option is set to
- The `gtk.gtk4.theme` option does not mirror `gtk.theme` by default
anymore.
- The `programs.zsh.dotDir` option now defaults to the XDG configuration
directory (usually `~/.config/zsh`) when `xdg.enable` is true.