autocomplete for restart command

This commit is contained in:
Javier Wilson 2016-06-06 10:49:11 -06:00
parent 2d7a451e0e
commit b7ff887d69

View File

@ -112,6 +112,13 @@ _supervisorctl_start() {
'*::supvervisor process:_get_supervisor_procs' '*::supvervisor process:_get_supervisor_procs'
} }
(( $+functions[_supervisorctl_restart] )) ||
_supervisorctl_restart() {
# TODO: add 'all'
_arguments -s \
'*::supvervisor process:_get_supervisor_procs'
}
(( $+functions[_supervisorctl_status] )) || (( $+functions[_supervisorctl_status] )) ||
_supervisorctl_status() { _supervisorctl_status() {
_arguments \ _arguments \