about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cplay8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a4ea7ee7a..26dbce7fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-05  Clint Adams  <clint@zsh.org>
+
+	* 21987: Completion/Unix/Command/_cplay: completion for
+	cplay.
+
 2005-11-04  Peter Stephenson  <pws@csr.com>
 
 	* users/9618 modified as suggested in users/9621: Doc/Zsh/expn.yo,
diff --git a/Completion/Unix/Command/_cplay b/Completion/Unix/Command/_cplay
new file mode 100644
index 000000000..24b159425
--- /dev/null
+++ b/Completion/Unix/Command/_cplay
@@ -0,0 +1,8 @@
+#compdef cplay
+
+_arguments -s \
+  '-n[enable restricted mode]' \
+  '-r[toggle playlist repeat mode]' \
+  '-R[toggle playlist random mode]' \
+  '-v[toggle PCM and MASTER volume control]' \
+  '*:playlist or directory or audio file:_files'