about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-05-13 19:11:14 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-05-13 19:11:14 +0000
commitf70e0ab9de8c6becbb940663dc4a2e13e6224f0c (patch)
tree5af3a36d5d2722141ae259f2b77844b6d54e1866 /Completion
parenteea8514302d9f0e85459023beee4248245f654dc (diff)
downloadzsh-f70e0ab9de8c6becbb940663dc4a2e13e6224f0c.tar.gz
zsh-f70e0ab9de8c6becbb940663dc4a2e13e6224f0c.tar.xz
zsh-f70e0ab9de8c6becbb940663dc4a2e13e6224f0c.zip
Jesse W: 21244: new completion for qtplay (Quick Time wrapper for Mac OS X)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Darwin/Command/.distfiles2
-rw-r--r--Completion/Darwin/Command/_qtplay20
2 files changed, 21 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/.distfiles b/Completion/Darwin/Command/.distfiles
index 1dfffb59b..e52f4a980 100644
--- a/Completion/Darwin/Command/.distfiles
+++ b/Completion/Darwin/Command/.distfiles
@@ -1,4 +1,4 @@
 DISTFILES_SRC='
 .distfiles
-_defaults _fink _hdiutil _open
+_defaults _fink _hdiutil _open _qtplay _softwareupdate
 '
diff --git a/Completion/Darwin/Command/_qtplay b/Completion/Darwin/Command/_qtplay
new file mode 100644
index 000000000..39a7c6de2
--- /dev/null
+++ b/Completion/Darwin/Command/_qtplay
@@ -0,0 +1,20 @@
+#compdef qtplay
+
+_arguments -S \
+  '(- *)-cd[play a CD]' \
+  '(-)-f[read files as playlist]:*:playlist:_files' \
+  '-l[loop]' \
+  '-q[quiet]' \
+  '-Q[quicktime only]' \
+  '-s[speak filenames]' \
+  '-S[sound manager only]' \
+  '-v[verbose]' \
+  '-z[shuffle play]' \
+  '-Z[random play]' \
+  '-1[play one random file]' \
+  '-t[specify update time]:update time (seconds)' \
+  '-T[kill time]:ticks' \
+  '-V[volume]:percentage of normal volume' \
+  '(-)'{-?,--help,-h}'[display help information]' \
+  '(-)*:quicktime file:_files'
+