From 9db6bf9840c496cbc756380a8fdfbaa60067625c Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 5 Sep 2024 00:25:19 +0000 Subject: [PATCH] nixosMod/frontend: configure bash history to ignore duplicates & allow exclusion with space --- nix/nixos-modules/frontend/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/nixos-modules/frontend/home.nix b/nix/nixos-modules/frontend/home.nix index 8c5bb02..068ca4a 100644 --- a/nix/nixos-modules/frontend/home.nix +++ b/nix/nixos-modules/frontend/home.nix @@ -91,6 +91,11 @@ in bash = { enable = true; enableCompletion = true; + historyControl = [ + "ignoredups" + "erasedups" + "ignorespace" + ]; }; bat = {