Unverified Commit 66290a39 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

supervisor: add README and update completion (#8285)

parents bd9cd052 160a801b
# supervisor plugin
This plugin adds tab-completion for `supervisord`/`supervisorctl` in [Supervisor](http://supervisord.org/).
Supervisor is a client/server system that allows its users to monitor and control a number
of processes on UNIX-like operating systems.
To use it, add `supervisor` to the plugins array in your zshrc file:
```zsh
plugins=(... supervisor)
```
These scripts are from [zshcompfunc4supervisor](https://bitbucket.org/hhatto/zshcompfunc4supervisor).
...@@ -112,6 +112,13 @@ _supervisorctl_start() { ...@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment