From: James Bunton Date: Tue, 5 Jun 2018 13:31:12 +0000 (+1000) Subject: bash: don't save lines starting with space to history file X-Git-Url: https://code.delx.au/dotfiles/commitdiff_plain/ebaaa9565c008959fb0f4d830513e0766636e26a?ds=sidebyside bash: don't save lines starting with space to history file --- diff --git a/.bash/interactive b/.bash/interactive index 27f5408..2606b36 100644 --- a/.bash/interactive +++ b/.bash/interactive @@ -107,7 +107,7 @@ set -o noclobber # Better history shopt -s histappend shopt -s cmdhist -export HISTCONTROL="erasedups:ignoredups" +export HISTCONTROL="erasedups:ignoredups:ignorespace" export HISTSIZE="100000" export HISTTIMEFORMAT="%F %T "