2.home-manager/modules/programs/zsh
Kristopher James Kent (kjkent) 21399deff2 zsh: improve dotDir handling
Previously, `config.programs.zsh.dotDir` prepended strings with `$HOME`.
This caused issues like nix-community#5100, where `$HOME` is
inconsistently resolved in time for the evaluation of the option. The handling
of this variable is also inconsistent with how paths are handled elsewhere,
including within the same module, where `config.programs.zsh.history.path`
does not mutate the supplied string.

To preserve backwards compatibility, this change prepends
`config.home.homeDirectory` to relative paths, while assigning absolute paths
unchanged. Tests for both cases are added.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
..
plugins zsh: improve dotDir handling 2025-07-25 13:15:29 -05:00
default.nix zsh: improve dotDir handling 2025-07-25 13:15:29 -05:00
deprecated.nix zsh: move deprecated options to separate file 2025-07-12 11:42:00 -05:00
history.nix zsh: move history to separate file 2025-07-12 11:42:00 -05:00
lib.nix zsh: improve dotDir handling 2025-07-25 13:15:29 -05:00