I dont think it quite does what you want but I have
export HISTCONTROL=ignoredups
in my bashrc. There are some other HIST* environment variables that you
might like too.
BB
on Mon, Oct 06, 2003 at 10:58:01AM +, Voytek Eymont <[EMAIL PROTECTED]> wrote:
> when I try to look up 'what was that
This one time, at band camp, Voytek Eymont wrote:
>when I try to look up 'what was that command I used last time' I get heaps
>of duplicates, I was planning on sorting then deduping the .history file
>
>can I just dedupe .bash_history with uniq, will I break anything if if I do?
>or, is there some
when I try to look up 'what was that command I used last time' I get heaps
of duplicates, I was planning on sorting then deduping the .history file
can I just dedupe .bash_history with uniq, will I break anything if if I do?
or, is there some way not to have multiple same entries in history stack