From 8a7c0c84a0428b051c440852e486ed6b139073ff Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 10 Sep 2023 17:02:49 +0200 Subject: [PATCH] Rework zsh history --- home-manager/cli/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/cli/zsh.nix b/home-manager/cli/zsh.nix index 39799c3..3f14b12 100644 --- a/home-manager/cli/zsh.nix +++ b/home-manager/cli/zsh.nix @@ -6,10 +6,10 @@ defaultKeymap = "viins"; enableCompletion = true; history = { - expireDuplicatesFirst = true; + ignoreAllDups = true; save = 10000; share = true; - path = ".local/share/zsh/history"; + path = "$HOME/.local/share/zsh/history"; }; historySubstringSearch = { enable = true;