zsh: Make history more usable

nazuna
Simon Bruder 2022-08-16 10:44:12 +02:00
parent 584956bcf6
commit 016fe02465
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 4 additions and 0 deletions

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}
'')
];