about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-07 20:40:32 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-07 20:40:32 +0000
commit78e719a632367833e1e776cef2af68dc88f9faa1 (patch)
tree8c307b5b37e2e08c59d77a95d2a98ed17d17cd74
parentb042b51a54f32bcc604dd2c3cfbda6dc651b3d64 (diff)
downloaddotfiles-78e719a632367833e1e776cef2af68dc88f9faa1.tar.gz
Expires duplicates first from zsh history
-rw-r--r--nix-conf/home/includes/zsh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index a70d7a9..7152b93 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -29,6 +29,7 @@
     enableCompletion = true;
     enableAutosuggestions = true;
     defaultKeymap = "emacs";
+    expireDuplicatesFirst = true;
     history = {
       size = 100000;
       save = 100000;