From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26786 invoked from network); 28 Mar 2008 11:01:43 -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; 28 Mar 2008 11:01:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86487 invoked from network); 28 Mar 2008 11:01:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Mar 2008 11:01:35 -0000 Received: (qmail 21531 invoked by alias); 28 Mar 2008 11:01:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24773 Received: (qmail 21514 invoked from network); 28 Mar 2008 11:01:30 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 28 Mar 2008 11:01:30 -0000 Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by bifrost.dotsrc.org (Postfix) with ESMTP id 0C1E282CD273 for ; Fri, 28 Mar 2008 12:01:22 +0100 (CET) Received: by rv-out-0910.google.com with SMTP id b22so80405rvf.21 for ; Fri, 28 Mar 2008 04:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wlJ2SYoj08iMTUcxIsD53U5ljurfAV+yd+8633mD5qo=; b=BHyaXT7481L3J22oxvEhZAhxFmt9o4SbTMxHR2X/A0gCSR0DzJXb3zrVTl0lVvJR6lVoQA/MwjuAAfd1YbiNsHtZcDn2OLrxMnqLUEJKWBFyP7nAY5jfx5DM1H3DLvy3f8hixJjusIHMODPlsz4xnEyF7Oy6RsYnkiGCqY9TLic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DRfCwRp04T3V/3WFQFis16l527w/HBms63B1VH8d+Y4sKp2H/aGziMQhzk4vqOorlsmymz9l8h6g5eybj/3NJxeLi1WCi9+nUGyLeHXHRDEuhXbp6AoizGx2E0nQCu/1RR/KqTV17fc9e9NxEEWmFV8vqbOj8LXnl6bfsq9/6WQ= Received: by 10.141.89.13 with SMTP id r13mr1235380rvl.88.1206702075425; Fri, 28 Mar 2008 04:01:15 -0700 (PDT) Received: by 10.140.127.7 with HTTP; Fri, 28 Mar 2008 04:01:15 -0700 (PDT) Message-ID: <237967ef0803280401o7176d1c1n5e037a0574e8998e@mail.gmail.com> Date: Fri, 28 Mar 2008 12:01:15 +0100 From: "Mikael Magnusson" To: zsh-workers@sunsite.dk Subject: Re: PATCH: cd -q (was Re: _canonical_path ...) In-Reply-To: <20080327184502.09b2a535@news01> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080326114413.80713vrmznwpnyuc@bapt.selfip.org> <200803261604.m2QG41Ke017772@news01.csr.com> <200803261621.m2QGLptV017966@news01.csr.com> <20080326173824.0a55c00d@coredump.raveland.priv> <20080326164615.1d5893ed@news01> <20080327102325.55808716@news01> <20080327120807.415095ee@raveland.org> <20080327112506.7298e9ef@news01> <20080327121525.5b4059f9@news01> <20080327184502.09b2a535@news01> X-Virus-Scanned: ClamAV 0.91.2/6436/Fri Mar 28 11:24:05 2008 on bifrost X-Virus-Status: Clean On 27/03/2008, Peter Stephenson wrote: > On Thu, 27 Mar 2008 12:15:25 +0000 > > Peter Stephenson wrote: > > > Any comments about the following proposal, which adds the -q option > > to all relevant functions? If it looks OK, I'll change the function > > above to unsetopt PUSHD_NO_DUPS and use pushd -q/popd -q to sanitize > > the directory with REPLY=$PWD and remove the fork. > > > Here is what I'm likely to commit. It includes various related > suggestions. It doesn't include a new style for the canonical stuff. I couldn't help but notice _cd doesn't complete directories after -q (or -L or -P or -s), nor the options themselves. I took a look at it, but it was special enough that I have no idea how to fix it in under 3 hours :). -- Mikael Magnusson