From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3526 invoked from network); 20 Aug 2001 12:58:13 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Aug 2001 12:58:13 -0000 Received: (qmail 28406 invoked by alias); 20 Aug 2001 12:58:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15668 Received: (qmail 28395 invoked from network); 20 Aug 2001 12:58:04 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15233.2376.629097.371397@gargle.gargle.HOWL> Date: Mon, 20 Aug 2001 14:57:44 +0200 To: zsh-workers@sunsite.dk Subject: Re: Few newbie questions.. In-Reply-To: <20010820124341.86411.qmail@web20308.mail.yahoo.com> References: <15233.40.773348.613660@gargle.gargle.HOWL> <20010820124341.86411.qmail@web20308.mail.yahoo.com> X-Mailer: VM 6.92 under 21.1 (patch 3) "Acadia" XEmacs Lucid Jukka Lehti wrote: > Sven Wischnowsky > wrote: > > Hi Sven, > > > > > } How I can make zsh3 add slash when doing: > > > > } cd ..[TAB]? bash does this automatically and > > > > compctl -g '*(/)' + -x 'S[..]' -k '(..)' -qS/ -- > > cd > > > > > > Hmm, it seems that cd ../.. doesn't work. I > > can't > > > figure out why? > > > > Replace the above with: > > > > compctl -g "*(-/) .." cd > > Uh, otherwise good but "cd .d" does not work (I > have dir .ddd). My original rule was: > > compctl -g '*(-/)' + -g '*(D-/)' cd > > which is also disturbed after that change. :-o Make it compctl -g '*(-/)' + -g '*(D-/) ..' cd then. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de