From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7360 invoked from network); 15 May 2008 16:58:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 May 2008 16:58:32 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 7121 invoked from network); 15 May 2008 16:58:26 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 May 2008 16:58:26 -0000 Received: (qmail 3260 invoked by alias); 15 May 2008 16:58:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25043 Received: (qmail 3243 invoked from network); 15 May 2008 16:58:21 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 15 May 2008 16:58:21 -0000 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by bifrost.dotsrc.org (Postfix) with ESMTP id 3BFDE80589A4 for ; Thu, 15 May 2008 18:58:13 +0200 (CEST) Received: by rv-out-0506.google.com with SMTP id g37so519285rvb.21 for ; Thu, 15 May 2008 09:58:12 -0700 (PDT) Received: by 10.140.251.1 with SMTP id y1mr1212717rvh.292.1210870692594; Thu, 15 May 2008 09:58:12 -0700 (PDT) Received: by 10.141.48.18 with HTTP; Thu, 15 May 2008 09:58:12 -0700 (PDT) Message-ID: <691a5d910805150958w60d3ac28k5a635093cdfc4d3b@mail.gmail.com> Date: Thu, 15 May 2008 09:58:12 -0700 From: "Bart Schaefer" To: zsh-workers@sunsite.dk Subject: Re: functions/Completion/Linux/_modutils In-Reply-To: <20080515121601.GB31408@scru.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4829BF7A.20203@sergio.spb.ru> <080513201714.ZM10079@torch.brasslantern.com> <482AF445.3080909@sergio.spb.ru> <080514085511.ZM11897@torch.brasslantern.com> <482B1123.5050206@sergio.spb.ru> <080514094046.ZM11975@torch.brasslantern.com> <20080515121601.GB31408@scru.org> X-Virus-Scanned: ClamAV 0.91.2/7129/Thu May 15 18:00:53 2008 on bifrost X-Virus-Status: Clean On Thu, May 15, 2008 at 5:16 AM, Clint Adams wrote: > > zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \ > /usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin OK, so maybe the right thing is to ignore my patch and have _sudo grab the value of *that* style and export it. (Still doesn't address the -H and -u things I mentioned.) Any opinions? PWS? Even if we keep something like my patch, should the context be changed to prefix it with ":completion" ?