chore(zsh): modifications related to upstream changes

This commit is contained in:
Yorick Barbanneau 2025-08-21 00:36:33 +02:00
parent 3b76b38037
commit 40785a4c94
Signed by: ephase
GPG key ID: 246042E52B41FFCF

View file

@ -10,14 +10,14 @@ in
config = mkIf cfg.enable {
programs.zsh = {
enable = true;
dotDir = ".config/zsh";
dotDir = "${config.xdg.configHome}/zsh";
defaultKeymap = "viins";
enableCompletion = true;
history = {
ignoreAllDups = true;
save = 10000;
share = true;
path = "$HOME/.local/share/zsh/history";
path = "${config.xdg.dataHome }/share/zsh/history";
};
historySubstringSearch = {
enable = true;
@ -108,7 +108,7 @@ in
};
}];
localVariables = {
BASE16_THEME = "$HOME/.config/zsh/plugins/base16";
BASE16_THEME = "${config.xdg.configHome}/zsh/plugins/base16";
# Make ESC key more reactive to go to normal mode
KEYTIMEOUT = 1;
};