💾 Archived View for yujiri.xyz › software › tab-completion.gmi captured on 2024-02-05 at 09:46:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

➡️ Next 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 fish, 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.

Fish review