compopt
Print or change the completion options for a command. tldr-pages
On several platforms
Several platforms
Print or change the completion options for a command. -o means enabled and +o means disabled.
Print the completion options for given command
compopt commandIdentifyEnable or disable a completion option of a command
compopt -o option1 -o option2 commandIdentifyPrint the options for the currently executing completion
compoptIdentify