Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd completion and CDABLE_VARS
- X-seq: zsh-users 7146
- From: Stefan Reichör <xsteve@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: cd completion and CDABLE_VARS
- Date: Thu, 11 Mar 2004 16:55:06 +0100
- In-reply-to: <17205.1079019918@xxxxxxx> (Peter Stephenson's message of "Thu, 11 Mar 2004 15:45:18 +0000")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <17205.1079019918@xxxxxxx>
Hi Peter!
>> I am looking for a step by step guide (a tutorial) to get some funky
>> completions working. Does something like this exist?
>
> Try http://www.zsh.sunsite.dk/Guide/ chapter 6, although that's not
> perfect.
Thanks, http://zsh.sunsite.dk/Guide/zshguide06.html seems to be a
good starting point
> Otherwise wait for the forthcoming `From Bash to Zsh: Conquring the
> Command Line' by Kiddle, Peek and Stephenson, due from Apress in June.
Sounds interesting
>> > zstyle ':completion:*:complete:(cd|pushd):*' tag-order \
>> > 'local-directories path-directories directory-stack' 'named-directories'
>>
>> I tried to use this but it seems to have no effect.
>
> Yep, sorry, you need:
>
> zstyle ':completion:*:complete:(cd|pushd):*' tag-order - \
> 'local-directories path-directories directory-stack' 'named-directories'
>
> The `-' means don't try anything else, otherwise they are added at the
> end of the list. This is in the manual entry for the tag-order style.
Yepp. That works :-)
A minor issue is, that ^xh still shows the users tag.
Stefan.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author