Specify completions for arguments to each name, for use with bash’s programmable completion feature. With no options or with -p, print all completion specifications such that they can be reused as input.
Specify other aspects of the completion specification’s behavior besides generating a completion. Possible values of comp-option are:
Use readline’s default filename completion if the completion specification generates no matches.
Use directory name completion if the completion specification generates no matches.
Tell readline that the completion specification generates filenames so that it can process them accordingly. For use with shell functions.
Tell readline not to append a space to completions at the end of the line. This is the default.
Print all completion specifications.
Remove completion specification for each name, or all specifications if no names are given.
Specify an action to generate a list of completions. Possible actions are:
Alias names. May be specified as -a.
Array variable names.
readline key binding names.
Shell built-in command names. May be specified as -b.
Command names. May be specified as -c.
Directory names. May be specified as -d.
Disabled shell built-in command names.
Enabled shell built-in command names.
Exported shell variable names. May be specified as