compopt
Print or change the completion options for a command.
TLDR
Print the options for the currently executing completion
$ compopt
Print the completion options for given command
$ compopt [command]
Print the options for the currently executing completion