diff options
author | Alan Pearce | 2014-04-12 13:15:53 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-12 13:15:53 +0100 |
commit | 81c8016d1e296ed91af69f2d5bf435d7d657af04 (patch) | |
tree | bbccda0a7e252ce2f90bfd648fa7b5edb7d45920 /tag-zsh/config/zsh/functions/runit/_sv | |
parent | 9dd9b2972c4c526109f4fb57f936b67290ace003 (diff) | |
download | dotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.lz dotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.zst dotfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.zip |
Restructure everything to use rcm
https://github.com/thoughtbot/rcm
Diffstat (limited to 'tag-zsh/config/zsh/functions/runit/_sv')
-rw-r--r-- | tag-zsh/config/zsh/functions/runit/_sv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/functions/runit/_sv b/tag-zsh/config/zsh/functions/runit/_sv new file mode 100644 index 0000000..bf98b3e --- /dev/null +++ b/tag-zsh/config/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}' |