Warp
Warp copied to clipboard
History search sorts direct match after "starting letter" match
Discord username (optional)
No response
Describe the bug
History search sorts matches where the starting letter of each word in a historic command is the letter of the search term higher than direct matches. For example searching for "tcp" sorts hits for "test-cli potato" before "adb tcpip 5000"
To Reproduce
Having these two commands in history:
txjs-cli push src/componentsadb tcpip 5000
History search (CTRL + R) for "tcp". The first result is txjs-cli....
Expected behaviour
In this scenario I would expect adb tcpip 5000 to be the first result, as it has the letters "tcp" in it, while the other command does not.
Screenshots
Operating System
MacOS
OS Version
X
Shell Version
X
Warp Version
v0.2022.08.31.18.11.stable_00
Additional context
No response
Does this block you from using Warp daily?
No
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
No response
@nixolas1 I'm Danny, Support Engineer at Warp. I will mark this issue as a feature request given the history search is working as intended. Please +1 this request as it helps us gauge interest. We will post any updates here.
As a possible workaround, I recommend you try typing in more characters to narrow down the results even further, so for example if you enter tcpip you should see the adb tcpip 5000 result show up first.
