💾 Archived View for yujiri.xyz › software › tab-completion.gmi captured on 2023-09-08 at 16:14:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-06-14)

➡️ Next capture (2024-08-18)

🚧 View Differences

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

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