zsh: Make history more usable

This commit is contained in:
Simon Bruder 2022-08-16 10:44:12 +02:00
parent 584956bcf6
commit 016fe02465
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -78,6 +78,7 @@ in
zsh = {
enable = true;
history = {
extended = true;
save = 100000;
size = 100000;
};
@ -125,6 +126,9 @@ in
source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh
FAST_HIGHLIGHT_STYLES[comment]=fg=010
# history
setopt HIST_IGNORE_ALL_DUPS
source ${./pass-wrappers.zsh}
'')
];