Fix zsh impermanence

https://logs.nix.samueldr.com/nixos-chat/2020-06-07
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-14 17:59:27 +03:00
parent ec56190919
commit f89bd9e84f
4 changed files with 12 additions and 6 deletions

View File

@@ -2,7 +2,10 @@
programs.zsh = {
enable = true;
autocd = true;
history.expireDuplicatesFirst = true;
history = {
path = "$HOME/.local/share/zsh/history";
expireDuplicatesFirst = true;
};
historySubstringSearch.enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;

View File

@@ -72,10 +72,10 @@ in
"VMs"
"git"
".mozilla"
".local/share/zsh"
];
files = [
".zsh_history"
".key.txt"
".local/share/sops-nix/key.txt"
];
allowOther = true;
};