From 10a9f1c0b063035d8a3f4ef2aeeba4e27e88a597 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Mon, 15 Apr 2024 13:22:24 +0200 Subject: [PATCH] bash: increase history size, ignore duplicates --- modules/terminal-life/bash/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/terminal-life/bash/default.nix b/modules/terminal-life/bash/default.nix index 65777a76..a46d616d 100644 --- a/modules/terminal-life/bash/default.nix +++ b/modules/terminal-life/bash/default.nix @@ -9,7 +9,8 @@ in { enable = true; - historyControl = ["ignorespace"]; + historyControl = ["ignoredups" "ignorespace"]; + historyFileSize = 300000; # Run when initializing a login shell profileExtra = if config.programs.sway.enable then ''