Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Few newbie questions..



Jukka Lehti wrote:

> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > On Aug 17,  3:55am, Jukka Lehti wrote:
> > }
> > } How I can make zsh3 add slash when doing:
> > } cd ..[TAB]? bash does this automatically and IMHO
> > } it's really useful.
> > 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

or start using the new completion system and look at the
`special-dirs' style.


Bye
  Sven

-- 
Sven Wischnowsky                    wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author