ddworken / hishtory

Your shell history: synced, queryable, and in context

Home Page:https://hishtory.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add search results highlighting like fzf

korniychuk opened this issue · comments

The hishtory is excellent! I would be happy to switch from fzf to it to synchronize the history on all my devices.
I see you actively developing the tool! It's great!

However, underlining is sorely lacking.
For example, how it looks like in fzf.
Screenshot 2023-09-23 at 13 50 04@2x

Thanks for the FR! To confirm, your suggestion is that for each command we somehow highlight the text in the command that is matching the query?

Just FYI, I've started to work on this and have a current prototype where matches are bolded:

Screenshot 2023-09-26 at 8 55 05 PM

I'll get this released relatively soon :)

If you run hishtory update to get the latest version of hishtory, and opt-in to beta features via hishtory config-set beta-mode true, you can try this out! I'd love any feedback you have on this feature.

This is now fully released and enabled by default! Please let me know if you have any feedback/thoughts on this.