compopt
all
Print or change the completion options for a command. `-o` means enabled and `+o` means disabled. See also: `compgen`, `complete`.
More info →Examples (4)
Print the options for the currently executing completion
Enable or disable a completion option of a command
compopt -o|+o option1 -o|+o option2made by @shridhargupta | data from tldr-pages