summary refs log tree commit diff stats
path: root/zsh/functions/runit/_sv
blob: bf98b3ea3a29d3530cf1ee9e8f0e1e35156f7c84 (plain)
1
2
3
4
5
6
7
#compdef sv

_arguments -A -S -s \
	'-v[wait up to 7 seconds for the command to take effect. (up|down|term|once|cont|exit)]' \
	'-w+[wait for %n seconds]: :_guard "[0-9]#" "numeric value"' \
	'1:command:(status up down once pause cont hup alarm interrupt quit 1 2 term kill exit start stop restart shutdown force-stop force-reload force-restart force-shutdown check)' \
	'*:installed service:_files -W ${SVDIR:-/service}'