mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Make the pager search field allow searching on the prefix
This commit is contained in:
parent
ef9f2ab31f
commit
9c7d1dbb6f
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ bool pager_t::completion_info_passes_filter(const comp_t &info) const
|
|||
/* Match against the completion strings */
|
||||
for (size_t i=0; i < info.comp.size(); i++)
|
||||
{
|
||||
if (string_fuzzy_match_string(needle, info.comp.at(i), limit).type != fuzzy_match_none)
|
||||
if (string_fuzzy_match_string(needle, prefix + info.comp.at(i), limit).type != fuzzy_match_none)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue