From eddeab8513502cfbc58b648fdba0b89c296b35cb Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 28 Sep 2022 19:16:22 +0200 Subject: bashrc: don't record commands staring with space in bash history --- .bashrc | 1 + 1 file changed, 1 insertion(+) 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)" -- cgit 1.4.1