yambar/completions/zsh/_yambar
Daniel Eklöf d4755d94b0
main: add -p,--print-pid=FILE|FD
When specified, print our PID to the file, or FD, after everything has
started up.
2020-02-04 18:28:09 +01:00

10 lines
535 B
Text

#compdef yambar
_arguments \
-s \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]' \
'(-b --backend)'{-b,--backend}'[backend to use (default: auto)]:backend:(xcb wayland auto)' \
'(-c --config)'{-c,--config}'[alternative configuration file]:filename:_files' \
'(-C --validate)'{-C,--validate}'[verify configuration then quit]' \
'(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running]:pidfile:_files'