Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: .. completion
- X-seq: zsh-users 3933
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: .. completion
- Date: Mon, 18 Jun 2001 09:50:41 +0200 (MET DST)
- In-reply-to: <20010616195236.A18024@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Danijel Tasov wrote:
> Hello World,
>
> I'm an enthused zsh-user.
>
> I have a Problem with compctl. I don't use any completion
> control, but there is something that bothers me.
>
> When I type /us it will be completed to /usr/ when pressing TAB,
> but .. will not be completed to ../ like in tcsh. I'm sure there
> is one, but compctl is very cryptic to me, and this is the only
> thing I miss.
Bart already pointed you to the new completion system.
If, for some reason, you can't use that, the way to make completion with
compctl accept `..' as a possible match (which in turn makes it add the
slash) is to add `-g ".."' to all your compctl's that generate filenames
as possible matches (using the -f, -/ or -g options -- in the last case
you can just add the `..' to -g's already existing argument).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author