Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
39a4f928
Commit
39a4f928
authored
Oct 18, 2019
by
Marco Zühlke
Browse files
Add Readme.md for supervisor.
Sync completion with original source.
parent
74165aba
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/supervisor/README.md
0 → 100644
View file @
39a4f928
# 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
)
.
plugins/supervisor/_supervisorctl
View file @
39a4f928
...
@@ -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 \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment