about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_vux60
2 files changed, 65 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cdf3114dd..a1d342c11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-11  Clint Adams  <clint@zsh.org>
+
+	* 19604: Completion/Unix/Command/_vux: completion for vux
+	and vuxctl.
+
 2004-03-11  Peter Stephenson  <pws@csr.com>
 
 	* 19603: Test/Y01completion.ztst, Test/Y02compmatch.ztst,
diff --git a/Completion/Unix/Command/_vux b/Completion/Unix/Command/_vux
new file mode 100644
index 000000000..b9d2bdaab
--- /dev/null
+++ b/Completion/Unix/Command/_vux
@@ -0,0 +1,60 @@
+#compdef vux vuxctl
+
+case "$service" in
+	(vux)
+
+_arguments -s -C \
+	'-x:action:(p g m w r f)' \
+	'-s:file:_files' \
+	'-a:file:_files' \
+	'-z:file:_files' \
+	'-y:file:_files' \
+	'-p:file:_files' \
+	'-w:ratings:(b t)' \
+	'-W:repeats:(a c)' \
+	'-G:age bypass method:(t s n)' \
+	'-e:pattern:' \
+	'-O:device:_files' \
+	'-M:minimum age val:' \
+	'-S[Disable saving scorelist]' \
+	'-A[Disable saving agelist]' \
+	'-Z[Disable saving countlist]' \
+	'-Y[Disable missing log]' \
+	'-c[Disable rating check]' \
+	'-d[Disable rating updates on play]' \
+	'-l[Disable rating updates on skip]' \
+	'-j[Disable repeat check]' \
+	'-b[Disable repeat updates on play]' \
+	'-k[Disable repeat updates on skip]' \
+	'-n[Disable player]' \
+	'-t:percent:' \
+	'-T:percent:' \
+	'-C:factor:' \
+	'-D:factor:' \
+	'-I:factor:' \
+	'-U:rating:' \
+	'-X:score:' \
+	'-N:count:' \
+	'-f:rating:' \
+	'-J[Accelerate decreases]' \
+	'-K[Accelerate increases]' \
+	'-u[Check age before rating]' \
+	'-R[Show ratings after processing]' \
+	'-V[Verbose file manipulation]' \
+	'-v[Show version and exit]' \
+	'-F[Skip songs with -n and -xf]' \
+	'-q[Minimize vux output]' \
+	'-P[Always play new songs]' \
+	'-g[print stats in xgraph format]' \
+	'-h[Show summary of options]'
+
+	;;
+
+	(vuxctl)
+
+	compadd start clean double half up down next previous forward \
+		replay pause resume stop reload save history help
+
+	;;
+
+esac