From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8358 invoked from network); 15 May 2008 17:01:11 -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.4 required=5.0 tests=AWL,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 17:01:11 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 8705 invoked from network); 15 May 2008 17:01:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 May 2008 17:01:05 -0000 Received: (qmail 5152 invoked by alias); 15 May 2008 17:01:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25044 Received: (qmail 5131 invoked from network); 15 May 2008 17:01:01 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 15 May 2008 17:01:01 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id 668D480589A4 for ; Thu, 15 May 2008 19:00:52 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly24d.srv.mailcontrol.com (MailControl) with ESMTP id m4FH0i02008631 for ; Thu, 15 May 2008 18:00:49 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 15 May 2008 18:00:35 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m4FH0Zji019511 for ; Thu, 15 May 2008 18:00:35 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m4FH0Z30019508 for ; Thu, 15 May 2008 18:00:35 +0100 Message-Id: <200805151700.m4FH0Z30019508@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: functions/Completion/Linux/_modutils In-reply-to: <691a5d910805150958w60d3ac28k5a635093cdfc4d3b@mail.gmail.com> 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> <691a5d910805150958w60d3ac28k5a635093cdfc4d3b@mail.gmail.com> Comments: In-reply-to "Bart Schaefer" message dated "Thu, 15 May 2008 09:58:12 -0700." Date: Thu, 15 May 2008 18:00:35 +0100 From: Peter Stephenson X-OriginalArrivalTime: 15 May 2008 17:00:36.0151 (UTC) FILETIME=[31D21C70:01C8B6AD] X-Scanned-By: MailControl A-08-50-03 (www.mailcontrol.com) on 10.68.0.134 X-Virus-Scanned: ClamAV 0.91.2/7129/Thu May 15 18:00:53 2008 on bifrost X-Virus-Status: Clean "Bart Schaefer" wrote: > 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. Sounds pretty sensible, but we definitely want to document that this happens for security reasons. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070