about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-01-29 05:10:55 +0000
committerClint Adams <clint@users.sourceforge.net>2006-01-29 05:10:55 +0000
commit8d80ff8ad9b8bdf858f40c7f144195145c71c59b (patch)
tree22702def557fd7bd182163b8d2b86249dd975674
parentb36a03d4b5673c30cc895b9a344968584dc57fdd (diff)
downloadzsh-8d80ff8ad9b8bdf858f40c7f144195145c71c59b.tar.gz
zsh-8d80ff8ad9b8bdf858f40c7f144195145c71c59b.tar.xz
zsh-8d80ff8ad9b8bdf858f40c7f144195145c71c59b.zip
22179: complete audio files and playlists based on a list of file extensions provided by Joe Wreschnig.
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_cplay2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 11b75dcf7..6ee222a88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-29  Clint Adams  <clint@zsh.org>
+
+	* 22179: Completion/Unix/Command/_cplay: complete audio files
+	and playlists based on a list of file extensions provided
+	by Joe Wreschnig.
+
 2006-01-28  Clint Adams  <clint@zsh.org>
 
 	* 22174: Completion/Unix/Command/_vorbis: fix misspelling
diff --git a/Completion/Unix/Command/_cplay b/Completion/Unix/Command/_cplay
index 24b159425..3b4219173 100644
--- a/Completion/Unix/Command/_cplay
+++ b/Completion/Unix/Command/_cplay
@@ -5,4 +5,4 @@ _arguments -s \
   '-r[toggle playlist repeat mode]' \
   '-R[toggle playlist random mode]' \
   '-v[toggle PCM and MASTER volume control]' \
-  '*:playlist or directory or audio file:_files'
+  '*:playlist or directory or audio file:_files -g "*.(mp3|mp2|ogg|669|amf|ams|dsm|far|it|med|mod|mt2|mtm|okt|s3m|stm|ult|gdm|xm|m3u|pls|spx|wav|au)"'