zsh: config history

This commit is contained in:
2025-11-28 20:51:05 +03:00
parent b9b79f7988
commit b6901adbc8
+6 -2
View File
@@ -73,8 +73,12 @@
TERM=xterm-256color TERM=xterm-256color
''; '';
history.size = 10000; history = {
history.path = "${config.xdg.dataHome}/zsh/history"; size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
expireDuplicatesFirst = true;
ignoreDups = true;
};
oh-my-zsh.enable = true; oh-my-zsh.enable = true;
}; };