From 3367b3e17a1e1affa06cc866d2656c4a7171f52f Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 22 Nov 2011 14:34:53 -0600 Subject: [PATCH] Ignore certain commands from shell history --- shells/common/exports.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shells/common/exports.sh b/shells/common/exports.sh index 78227b7..1cfcc95 100644 --- a/shells/common/exports.sh +++ b/shells/common/exports.sh @@ -15,6 +15,7 @@ export GREP_COLOR='1;32' export CLICOLOR=1 export HISTSIZE=1000000 +export HISTIGNORE="clear:bg:fg:cd:cd -:exit:date:w:* --help" export REPORTTIME=2 export TIMEFMT="%*Es total, %U user, %S system, %P cpu"