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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to