summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-05-05 08:47:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-05-05 08:47:54 +0000
commit0b61406ea9f130e7c8930fc199e2bf7121d75acc (patch)
tree62c4921397d6e3f5e2f7169102dc2cfa814ae591
parent7125514c462ac366ca0c6ed0d2f15b4d4ad4a79a (diff)
downloadzsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.tar.gz
zsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.tar.xz
zsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.zip
martin f. krafft: 26922: extend xmms2 completion
-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' \