about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)"'