mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
19613: Completion/Unix/Command/_vux: better descriptions and indentation.
This commit is contained in:
parent
fc5d8fcb37
commit
0cef280ab7
2 changed files with 20 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-12 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 19613: Completion/Unix/Command/_vux: better descriptions
|
||||
and indentation.
|
||||
|
||||
2004-03-12 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 19602: Src/signames2.awk: adjust to cope with output from the
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
#compdef vux vuxctl
|
||||
|
||||
case "$service" in
|
||||
(vux)
|
||||
local expl
|
||||
|
||||
_arguments -s -C \
|
||||
'-x:action:(p g m w r f)' \
|
||||
case "$service" in
|
||||
(vux)
|
||||
|
||||
_arguments -s -C \
|
||||
'-x:action:((play\:play\ music generate\:generate\ new\ scorelist
|
||||
merge\:merge\ new\ songs
|
||||
weed\:prune\ songs\ from\ scorelist
|
||||
ratings\:show\ statistics force\:force-rate))' \
|
||||
'-s:file:_files' \
|
||||
'-a:file:_files' \
|
||||
'-z:file:_files' \
|
||||
|
@ -47,14 +52,13 @@ _arguments -s -C \
|
|||
'-P[Always play new songs]' \
|
||||
'-g[print stats in xgraph format]' \
|
||||
'-h[Show summary of options]'
|
||||
;;
|
||||
|
||||
;;
|
||||
(vuxctl)
|
||||
|
||||
(vuxctl)
|
||||
|
||||
compadd start clean double half up down next previous forward \
|
||||
replay pause resume stop reload save history help
|
||||
|
||||
;;
|
||||
_wanted vuxcmd expl 'vux control command' \
|
||||
compadd start clean double half up down next previous forward \
|
||||
replay pause resume stop reload save history help
|
||||
;;
|
||||
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue