diff options
| author | Robert Günzler <r@gnzler.io> | 2022-09-28 19:16:22 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-09-28 19:16:22 +0200 |
| commit | eddeab8513502cfbc58b648fdba0b89c296b35cb (patch) | |
| tree | 0e01ea02e6129c3f0379d3988862f4c1b5fa0631 /.bashrc | |
| parent | 056873faeffc7bc65096b74aefebedb8cf42235e (diff) | |
bashrc: don't record commands staring with space in bash history
Diffstat (limited to '')
| -rw-r--r-- | .bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc index 8d19db8..0ad2e42 100644 --- a/.bashrc +++ b/.bashrc @@ -27,6 +27,7 @@ bind -m vi-insert -x '"\C-l": clear' shopt -s histappend HISTSIZE=50000 HISTFILESIZE=500000 +HISTCONTROL=ignorespace # enable direnv eval "$(direnv hook bash)" |