zsh: config history

This commit is contained in:
2026-08-19 21:41:45 +03:00
committed by Sweetbread
parent 005edb2730
commit 8f93c5ef2a
+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;
}; };