From cf47c75acde8e8f20d74f514bbc61693aa579c04 Mon Sep 17 00:00:00 2001 From: Matijs Brinkhuis Date: Tue, 20 Sep 2011 15:46:41 +0300 Subject: Added HISTIGNORE to ignore certain commands in history --- .exports | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.exports b/.exports index db4e0ed..f71f6e0 100644 --- a/.exports +++ b/.exports @@ -6,4 +6,6 @@ export MANPAGER="less -X" # Larger bash history (allow 32³ entries; default is 500) export HISTSIZE=32768 export HISTFILESIZE=$HISTSIZE -export HISTCONTROL=ignoredups \ No newline at end of file +export HISTCONTROL=ignoredups +# Make some commands not show up in history +export HISTIGNORE="ls:ls *" \ No newline at end of file -- cgit v1.2.3