shell.nix: apply HISTCONTROL to bash interactiveShellInit
This commit is contained in:
parent
0d838e68aa
commit
2042ae5232
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue