Do Yourself a Favor
June 23rd, 2010
1 comment
Stick this in your .bashrc:
export HISTCONTROL=erasedups export HISTSIZE=500 export HISTIGNORE=ls:'ls -l':fg
This changes what gets shoved into .bash_history.
- Erase duplicate entires that have shown up previously.
- Set the history size to 500
- Ignore a few specified commands
Categories: Uncategorized