PatrickF1 / fzf.fish

🔍🐟 Fzf plugin for Fish
MIT License
2k stars 81 forks source link

Search history doesn't respect chronological order #272

Closed jjant closed 1 year ago

jjant commented 1 year ago

Before proceeding...

Describe the bug

Search history should (imho) respect chronological order of commands, but it doesn't. See:

image image

Steps to reproduce

Type a partial command search with shorter matches (conf above) that happened earlier in time.

Environment

Versions installed:

PatrickF1 commented 1 year ago

Good point. I also prefer chronological ordering but a lot of people prefer best match first. You can turn off sorting by relevance via set fzf_history_opts --no-sort https://github.com/junegunn/fzf/issues/1189. I will add this to the cookbook.

jjant commented 1 year ago

Thank you!