Bash: completion, the complete builtin
October 27, 2021•596 words
In the previous article we've looked at how Bash completion works at the simplest level.
We've also seen that the complete builtin comes with 26 options to influence its behavior.
Let's break them down piece by piece, until we have a complete understanding of complete.
Grouping options
While the number of options to complete seems overwhelming, every option actually falls into one of a handful of groups:
generators supply possible words to complete (-G for globs, -W for word lists, -A for ...
Read post