diff options
author | Nikita Uvarov <uv.nikita@gmail.com> | 2019-10-28 11:11:44 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-11-05 23:04:06 +0100 |
commit | 450571056552c9311fcb2894328696b535265593 (patch) | |
tree | 1e998fe3d050c54d8caabb3f9df2a020edfd6c4f /modules/misc | |
parent | 05dabb7239254c0d9b2f314d7aa73923917bd1cd (diff) |
zsh: fix history.path issues
- Default value is set to static '$HOME/.zsh_history' -- dotDir is not
prepended anymore
- $HOME is not prepended to the option value
- Ensure history path directory exists
Fixes #886, replaces #427.
Diffstat (limited to 'modules/misc')
-rw-r--r-- | modules/misc/news.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/misc/news.nix b/modules/misc/news.nix index bbbe1a04750..a00c81ee1d8 100644 --- a/modules/misc/news.nix +++ b/modules/misc/news.nix @@ -1214,6 +1214,21 @@ in A new module is available: 'programs.pazi'. ''; } + + { + time = "2019-11-05T21:54:04+00:00"; + condition = config.programs.zsh.enable; + message = '' + The 'programs.zsh.history.path' option behavior and the + default value has changed for state version 20.03 and above. + + Specifically, '$HOME' will no longer be prepended to the + option value, which allows specifying absolute paths (e.g. + using the xdg module). Also, the default value is fixed to + '$HOME/.zsh_history' and 'dotDir' path is not prepended to + it anymore. + ''; + } ]; }; } |