From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18180 invoked from network); 30 Jan 2002 01:13:22 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Jan 2002 01:13:22 -0000 Received: (qmail 23792 invoked by alias); 30 Jan 2002 01:13:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4641 Received: (qmail 23780 invoked from network); 30 Jan 2002 01:12:59 -0000 From: "Bart Schaefer" Message-Id: <020129171248.ZM11938@candle.brasslantern.com> Date: Tue, 29 Jan 2002 17:12:48 -0800 In-Reply-To: <3C572BEB.2030001@davh.dk> Comments: In reply to Dennis Haney "Re: cd ..?" (Jan 30, 12:10am) References: <20020129102017.E3A633FC1B@pluto.sonofthor.dk> <15446.30464.872842.207355@wischnow.berkom.de> <3C572BEB.2030001@davh.dk> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: Dennis Haney Subject: Re: cd ..? Cc: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 30, 12:10am, Dennis Haney wrote: > Subject: Re: cd ..? > > Sven Wischnowsky wrote: > > > > zstyle ':completion:*' special-dirs .. > > > >to make `..' be considered a possible match (and hence it will get the > >slash appended). > > > Is there a way to make this work properly with setopt GLOB_DOTS? Just make the style more specific: zstyle ':completion:*:(cd|chdir|pushd|popd):*' special-dirs .. You might also check the documentation for the ignore-parents style.