about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_xmms214
2 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b1c551a15..b1dc41b89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-05  Peter Stephenson  <pws@csr.com>
+
+	* martin f. krafft: 26922: Completion/Unix/Command/_xmms2: extend
+	xmms2 completion.
+
 2009-04-30  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* users/14076 (tweaked per 26906): Completion/Unix/Command/_ssh:
@@ -11651,5 +11656,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4675 $
+* $Revision: 1.4676 $
 *****************************************************
diff --git a/Completion/Unix/Command/_xmms2 b/Completion/Unix/Command/_xmms2
index f132ada35..d25802ed1 100644
--- a/Completion/Unix/Command/_xmms2
+++ b/Completion/Unix/Command/_xmms2
@@ -190,6 +190,20 @@ _xmms2_coll_attr() {
     _xmms2_coll_helper
 }
 
+_xmms2_add() {
+  _files
+}
+
+_xmms2_radd() {
+  _dirs
+}
+
+_xmms2_addpls() {
+  local expl
+  _description files expl 'playlist'
+  _files "$expl[@]" -g '*.([mM]3[uU]|[pP][lL][sS])'
+}
+
 _xmms2() {
 _arguments \
     '--format[specify the format of song display]:format string' \