Re: [PATCH] HISTCONTROL_ignoredups (was: [PATCH] history_show_duplicates)



Hello!

> > Here is the new patch. It allows the user to set the HISTCONTROL
> > environment variable to a value of "ignoredups" if he wants to have
> > only unique entries in history widgets.
> 
> Maybe duplicates should be always ignored?

Maybe.  The only widget where the duplicates make sense is the command
line (the history is shown by Alt-h on the panels).

But I think I can live without duplicates even for the command line.  
Removing the duplicates makes the history shorter.  If I want the complete
history, I can switch by Ctrl-O to the subshell and browse its history.

If anybody will seriously miss full history with duplicates in any widget,
please explain the reason.

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]