mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-10-18 14:04:05 +02:00
Implemented in a dedicated Icinga Web CLI command, bash config snippet is therefore pretty compact. fixes #5520
14 lines
226 B
Plaintext
14 lines
226 B
Plaintext
|
|
_icingaweb_completion()
|
|
{
|
|
local cur opts
|
|
opts="${COMP_WORDS[*]}"
|
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
COMPREPLY=($($opts --autocomplete --autoindex $COMP_CWORD))
|
|
return 0
|
|
}
|
|
|
|
complete -F _icingaweb_completion icingaweb
|
|
|
|
|