Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd directory completion?
- X-seq: zsh-users 2503
- From: Swen Thuemmler <swen@xxxxxxxxxxxxxxxx>
- To: Dominik Vogt <dominik.vogt@xxxxxx>
- Subject: Re: cd directory completion?
- Date: Mon, 23 Aug 1999 16:09:40 +0200 (MET DST)
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <19990823160316.L32224@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Sender: swen@xxxxxxxxxxxxxxxx
On Mon, 23 Aug 1999, Dominik Vogt wrote:
> Um, I think that's not the correct syntax, at least not for
> 3.0.6:
>
> # compctl -/ cd
> compctl: bad option: -/
>
> I'll settle for
>
> compctl -n -g '*(-/) .*(-/) cd pushd
>
> instead. Many thanks
Hmm. I don't know if it does in 3.0.6, but in 3.1.5, this does not
complete .., so you always have to add the '/' if you want to cd
../something. I use the following:
compctl -g '*(-/)' + -g '..' + -g '.*(-/)' cd chdir dirs pushd
Greetings, Swen
Messages sorted by:
Reverse Date,
Date,
Thread,
Author