From b89c21ff8452f6f3a329ef197a655fc0faff6807 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 5 Sep 2024 00:24:21 +0000 Subject: [PATCH] nixosMod/debugMinimal: configure bash history to ignore duplicates --- nix/nixos-modules/debugMinimal.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/nixos-modules/debugMinimal.nix b/nix/nixos-modules/debugMinimal.nix index 53494c9..8352b2c 100644 --- a/nix/nixos-modules/debugMinimal.nix +++ b/nix/nixos-modules/debugMinimal.nix @@ -38,6 +38,9 @@ in enableCompletion = true; enableLsColors = true; vteIntegration = true; + interactiveShellInit = '' + export HISTCONTROL=ignoreboth:erasedups + ''; }; htop = {