hstr icon indicating copy to clipboard operation
hstr copied to clipboard

History rank/ordering prioritizes prefix matches over more recent items

Open pknowles opened this issue 8 years ago • 5 comments

For example:

ls
echo ls
<ctrl-r>ls

shows ls first, rather than echo ls.

It would be great to be able to order by recent items only.

pknowles avatar Jul 21 '17 21:07 pknowles

in .bashrc export HH_CONFIG=hicolor,rawhistory read docs

arbach avatar Aug 24 '17 14:08 arbach

Thanks, I didn't think to read docs, how helpful /s. No but really thanks for answering!

pknowles avatar Aug 24 '17 16:08 pknowles

Hmm. It seems I already have rawhistory but I'm still seeing the described behaviour.

pknowles avatar Aug 25 '17 00:08 pknowles

I have the same question as this one . I want that it is order by recent time by default . How to config it ?

oldunclez avatar Jul 31 '20 05:07 oldunclez

OK . I find out the answer : export HSTR_CONFIG=hicolor,raw-history-view

oldunclez avatar Jul 31 '20 05:07 oldunclez