Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Few newbie questions..
- X-seq: zsh-workers 15668
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Few newbie questions..
- Date: Mon, 20 Aug 2001 14:57:44 +0200
- In-reply-to: <20010820124341.86411.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15233.40.773348.613660@xxxxxxxxxxxxxxxxxx> <20010820124341.86411.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Jukka Lehti wrote:
> Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
> 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 ../..<TAB> doesn't work. I
> > can't
> > > figure out why?
> >
> > Replace the above with:
> >
> > compctl -g "*(-/) .." cd
>
> Uh, otherwise good but "cd .d<TAB>" 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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author