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
|
||||
];
|
||||
|
||||
programs.bash.shellInit = ''
|
||||
HISTCONTROL=ignoreboth
|
||||
'';
|
||||
|
||||
programs.bash.interactiveShellInit = ''
|
||||
if test -n "$KITTY_INSTALLATION_DIR"; then
|
||||
export KITTY_SHELL_INTEGRATION="enabled,no-sudo"
|
||||
|
|
Loading…
Reference in a new issue