💾 Archived View for yujiri.xyz › software › tab-completion.gmi captured on 2024-08-25 at 02:06:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

yujiri.xyz

Software

Breadth-first versus depth-first autocompletion

I've seen two approaches taken to autocompletion in shells and similar environments:

Micro

I prefer breadth-first because:

Some environments, like the fish shell, use breadth-first completion but move into depth-first if you continue to press tab after a completion that didn't give you a full possibility. This is obviously better than having only one available, but if I only get one, I definitely prefer breadth-first.