On Sat, Apr 28, 2012 at 03:38:41PM -0600, Peter Gueckel wrote:
I read about a shell variable called HISTIGNORE that is supposed to
prevent duplicate
commands from occurring in .bash_history.
I put the following line into ~/.bash_profile:
export HISTIGNORE="&"
It's not working. I still have duplicate commands galore. Why isn't is working?
I have:
HISTIGNORE='ls:cp:mv:rmdir:mkdir:less:most:joe:cd' && export HISTIGNORE
in my .bashrc. Works afaict.
Terry