You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when there are choices that differ only by - vs _, common substring is incorrectly calculated.
What I expect:
if I have directories foo-bar and foo_bar, I expect to be able to choose any of them using tab
What I get:
When I press tab it completes to foo-bar, so I can't choose foo_bar at all using completion.
REVISION: 99f0b2ad9bdaa8a94ed8edf489d0738d2303fd21
% mkdir foo-bar
% mkdir foo_bar
% cd foo
directory
foo-bar/ foo_bar/
common substring: foo-bar
# after pressing tab:
% cd foo-bar/
No matching directory, ancestor directory, corrections or history word found.
The text was updated successfully, but these errors were encountered:
@vitaly I didn't change the common substring for your test case, because that's handled by zsh's internals and out of my control. But now, after you insert it, the other choices should still be visible and you should be able to complete them.
zsh-autocomplete
version: 99f0b2awhen there are choices that differ only by
-
vs_
, common substring is incorrectly calculated.What I expect:
if I have directories
foo-bar
andfoo_bar
, I expect to be able to choose any of them using tabWhat I get:
When I press
tab
it completes tofoo-bar
, so I can't choosefoo_bar
at all using completion.The text was updated successfully, but these errors were encountered: