zsh: Make history more usable
This commit is contained in:
parent
584956bcf6
commit
016fe02465
|
@ -78,6 +78,7 @@ in
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
history = {
|
history = {
|
||||||
|
extended = true;
|
||||||
save = 100000;
|
save = 100000;
|
||||||
size = 100000;
|
size = 100000;
|
||||||
};
|
};
|
||||||
|
@ -125,6 +126,9 @@ in
|
||||||
source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh
|
source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh
|
||||||
FAST_HIGHLIGHT_STYLES[comment]=fg=010
|
FAST_HIGHLIGHT_STYLES[comment]=fg=010
|
||||||
|
|
||||||
|
# history
|
||||||
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
|
||||||
source ${./pass-wrappers.zsh}
|
source ${./pass-wrappers.zsh}
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue