From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17150 invoked from network); 22 Nov 2008 04:11:59 -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.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Nov 2008 04:11:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 81858 invoked from network); 22 Nov 2008 04:11:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Nov 2008 04:11:45 -0000 Received: (qmail 12359 invoked by alias); 22 Nov 2008 04:11:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13466 Received: (qmail 12345 invoked from network); 22 Nov 2008 04:11:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Nov 2008 04:11:26 -0000 Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by bifrost.dotsrc.org (Postfix) with ESMTP id C001A80525B4 for ; Sat, 22 Nov 2008 05:11:22 +0100 (CET) Received: from torch.brasslantern.com ([96.238.220.215]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0KAP00FU0VMS0DC4@vms046.mailsrvcs.net> for zsh-users@sunsite.dk; Fri, 21 Nov 2008 22:11:17 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id mAM4BG1e031289 for ; Fri, 21 Nov 2008 20:11:16 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id mAM4BF13031288 for zsh-users@sunsite.dk; Fri, 21 Nov 2008 20:11:15 -0800 Date: Fri, 21 Nov 2008 20:11:15 -0800 From: Bart Schaefer Subject: Re: zstyle for function instead of command? In-reply-to: <6a42eec70811211614h35dac077j8a2bada0e5559a10@mail.gmail.com> To: zsh-users@sunsite.dk Message-id: <081121201115.ZM31287@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <6a42eec70811211614h35dac077j8a2bada0e5559a10@mail.gmail.com> Comments: In reply to "sam reckoner" "zstyle for function instead of command?" (Nov 21, 4:14pm) X-Virus-Scanned: ClamAV 0.92.1/8661/Fri Nov 21 16:39:30 2008 on bifrost X-Virus-Status: Clean On Nov 21, 4:14pm, sam reckoner wrote: } } v () { } '/cygdrive/c/Vim/vim71/gvim.exe' $* & } } } } I have tried doing } % zstyle ':completion:*:*:v:*:*' file-patterns '*.py' '*.*' } } but that doesn't work either. That certainly should work, and does for me on linux. What do you get from % v h and how does it differ from what you get from % gvim h ??