Skip to content

Commit

Permalink
Added HISTIGNORE to ignore certain commands in history
Browse files Browse the repository at this point in the history
  • Loading branch information
matijs committed Sep 20, 2011
1 parent c7a82c2 commit cf47c75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .exports
Expand Up @@ -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
export HISTCONTROL=ignoredups
# Make some commands not show up in history
export HISTIGNORE="ls:ls *"

0 comments on commit cf47c75

Please sign in to comment.