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