mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-15 17:31:16 -03:00
Initial implementation of intermediate fuzzy completion
e.g. /u/l/b<tab> may be expanded to /usr/local/bin
This commit is contained in:
@@ -1907,7 +1907,7 @@ static bool handle_completions(const std::vector<completion_t> &comp, bool conti
|
||||
assert(el->position >= prefix_start);
|
||||
len = el->position - prefix_start;
|
||||
|
||||
if (match_type_requires_full_replacement(best_match_type))
|
||||
if (will_replace_token || match_type_requires_full_replacement(best_match_type))
|
||||
{
|
||||
// No prefix
|
||||
prefix.clear();
|
||||
|
||||
Reference in New Issue
Block a user