From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3096 invoked by alias); 24 Oct 2009 04:15:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27314 Received: (qmail 19737 invoked from network); 24 Oct 2009 04:15:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (proxy.melb.primenet.com.au: domain at zsh.org does not designate permitted sender hosts) Date: Sat, 24 Oct 2009 04:14:56 +0000 From: Clint Adams To: zsh-workers@zsh.org Subject: PATCH: _mpc search types Message-ID: <20091024041456.GA24140@scru.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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