shell.nix: apply HISTCONTROL to bash interactiveShellInit

This commit is contained in:
Wroclaw 2024-04-20 03:28:18 +02:00
parent 0d838e68aa
commit 2042ae5232

View file

@ -37,6 +37,7 @@ in
''; '';
programs.bash.interactiveShellInit = '' programs.bash.interactiveShellInit = ''
HISTCONTROL=ignoreboth
if test -n "$KITTY_INSTALLATION_DIR"; then if test -n "$KITTY_INSTALLATION_DIR"; then
export KITTY_SHELL_INTEGRATION="enabled,no-sudo" export KITTY_SHELL_INTEGRATION="enabled,no-sudo"
source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash" source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"