From 2042ae52321b6f80eca89c1d2f6583829caa93f4 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 20 Apr 2024 03:28:18 +0200 Subject: [PATCH] shell.nix: apply HISTCONTROL to bash interactiveShellInit --- nix-os/shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix-os/shell.nix b/nix-os/shell.nix index 5c2bc44..99408c2 100644 --- a/nix-os/shell.nix +++ b/nix-os/shell.nix @@ -37,6 +37,7 @@ in ''; programs.bash.interactiveShellInit = '' + HISTCONTROL=ignoreboth if test -n "$KITTY_INSTALLATION_DIR"; then export KITTY_SHELL_INTEGRATION="enabled,no-sudo" source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"