[PATCH] HISTCONTROL_ignoredups (was: [PATCH] history_show_duplicates)
Pavel Roskin
proski at gnu.org
Mon Dec 9 06:18:14 UTC 2002
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
More information about the mc-devel
mailing list