Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _mpc search types



It looks like _mpc needs a bit more modernization beyond this.

Index: Completion/Unix/Command/_mpc
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_mpc,v
retrieving revision 1.5
diff -u -r1.5 _mpc
--- Completion/Unix/Command/_mpc	4 Jan 2007 18:06:39 -0000	1.5
+++ Completion/Unix/Command/_mpc	24 Oct 2009 04:13:25 -0000
@@ -236,7 +236,7 @@
 
 _mpc_search() {
   local list expl
-  list=(album artist title filename)
+  list=(album artist title track name genre date composer performer comment disc filename any)
 
   if [[ $#words -eq 2 ]]; then
     _wanted list expl table compadd $expl -a list



Messages sorted by: Reverse Date, Date, Thread, Author