[Xfce-bugs] [Bug 16210] New: Alt+F2 history should wipe duplicates
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Thu Nov 21 11:22:40 CET 2019
https://bugzilla.xfce.org/show_bug.cgi?id=16210
Bug ID: 16210
Summary: Alt+F2 history should wipe duplicates
Classification: Xfce Core
Product: Xfce4-appfinder
Version: 4.14.0
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: xfce-bugs at xfce.org
Reporter: olaf at aepfle.de
Target Milestone: Xfce 4.14
My ~/.cache/xfce4/xfce4-appfinder/history cumulates duplicates over time. For
example, one entry is like "bash ~/path/to/helper.sh", which appears several
times in the cache file. As a result it is also shown as match several times
during "Alt+F2" usage.
I think the concept of bash "export HISTCONTROL=ignoreboth:erasedups" should be
implemented, just keep the last entry and wipe duplicate strings. Maybe leading
and trailing spaces should be trimmed as well before deciding on duplicates and
saving them to the 'history' file.
I'm running git.xfce.org#master since spring this year, I think this was always
the case.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list