Implement bash-style common prefix completion for TAB
Author: realami Channel: #feedback Link: https://discord.com/channels/1405685085923049482/1405686161791516873/1481088062183313549
Issue
In the ssh exe.dev lobby, when using TAB completion with partial matches, the completer shows all matching options but doesn't complete the common prefix like bash does.
Example
rm gb<TAB>
Shows:
gbench2 gbench1
But should complete to:
rm gbench
Then pressing TAB again would show the two matching options (gbench2 and gbench1).
Expected Behavior
Tab completion should follow bash conventions: when multiple completions share a common prefix, that prefix should be automatically completed before showing the remaining options.
discord-bug
2 Comments
Yes! I keep wanting this too!
This is implemented, should be in prod soon-ish. Thanks for the nudge!