Implement bash-style common prefix completion for TAB

GitHub issue #165 Feature Shipped realamivia discord Mar 11, 2026 View Discord message View GitHub mirror

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

josharianvia github Mar 11, 2026

Yes! I keep wanting this too!

josharianvia github Mar 12, 2026

This is implemented, should be in prod soon-ish. Thanks for the nudge!