diff options
author | Alan Pearce | 2013-04-28 20:54:18 +0100 |
---|---|---|
committer | Alan Pearce | 2013-04-28 20:54:18 +0100 |
commit | e7657d6ba54ad5714657cff9be86ec416d342a4c (patch) | |
tree | 50a2fada14e8d5f76ef890c4b860fbdd4faf812f /zsh/functions/runit/_sv | |
parent | 6bec14c2d18c915a3510aba36a37e78a8b83170f (diff) | |
download | dotfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.tar.lz dotfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.tar.zst dotfiles-e7657d6ba54ad5714657cff9be86ec416d342a4c.zip |
Migrate repository from mercurial without history
Diffstat (limited to 'zsh/functions/runit/_sv')
-rw-r--r-- | zsh/functions/runit/_sv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/functions/runit/_sv b/zsh/functions/runit/_sv new file mode 100644 index 0000000..bf98b3e --- /dev/null +++ b/zsh/functions/runit/_sv @@ -0,0 +1,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}' |