shell.nix: Don't keep history of commands that starts with space in bash
This commit is contained in:
parent
6b384feb78
commit
5ca45e2ac5
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ in
|
||||||
zoxide
|
zoxide
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.bash.shellInit = ''
|
||||||
|
HISTCONTROL=ignoreboth
|
||||||
|
'';
|
||||||
|
|
||||||
programs.bash.interactiveShellInit = ''
|
programs.bash.interactiveShellInit = ''
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue