1 comment

[ 5.0 ms ] story [ 9.5 ms ] thread
I like the attention, but I don't buy "Because greping history wastes a lot of time while coding."

Just add to your .bashrc:

HISTCONTROL=ignoredups

HISTFILESIZE=500000

HISTSIZE=50000 export HISTCONTROL HISTFILESIZE HISTSIZE