Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Question on filename completion
- X-seq: zsh-users 12861
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Question on filename completion
- Date: Wed, 21 May 2008 09:37:01 +0100
- In-reply-to: <d53cb3110805210111l373971d2n59d85474f0b368de@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <d53cb3110805181023p1e823d8drb196db9e52f79b33@xxxxxxxxxxxxxx> <080518120311.ZM4212@xxxxxxxxxxxxxxxxxxxxxx> <20080518212422.6f14cf75@pws-pc> <d53cb3110805210111l373971d2n59d85474f0b368de@xxxxxxxxxxxxxx>
On Wed, 21 May 2008 13:41:18 +0530
"Gowtham M" <gowthamgowtham@xxxxxxxxx> wrote:
> Ok, now I understood that this feature is to complete
> /u/i/stdio.h to /usr/include/stdio.h. This feature is
> quite useful, but this simply will not scale up when
> thousands of matches are to be checked. So, I would like
> to disable this feature for every completion attempt.
>
> How can I do it?
You will need to apply the patch I just sent, which is entirely shell code
(apart from the documentation). If you don't have access to the
installation you can locate _path_files in your fpath and put it in your
own functions directory setting
fpath=(~/myfns $fpath)
or whatever. Then you need to set
zstyle ':completion:*' accept-exact-dirs true
in ~/.zshrc.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author