complete
all
Get and set argument autocompletion rules of shell commands in Bash. The specified completions will be invoked when `<Tab>` is pressed in Bash. See also: `compgen`, `compopt`.
More info →Examples (6)
Set arguments of a command to autocomplete through a function (completion response is sent in `$COMPREPLY` variable)
Set arguments of a command to autocomplete through another command (`$1` is the command, `$2` is the argument the cursor is on, and `$3` is the argument preceding the cursor)
Apply autocompletion without appending a space to the completed word
List all loaded complete specifications
complete -pmade by @shridhargupta | data from tldr-pages