Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh forward completion (quite embarrassing)
- X-seq: zsh-users 17152
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Re: zsh forward completion (quite embarrassing)
- Date: Wed, 20 Jun 2012 09:07:22 +0100
- In-reply-to: <XnsA077EE83CD2Fzzappergmailcom@80.91.229.10>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <XnsA077E3E5FD131zzappergmailcom@80.91.229.10> <87a9zzq8gy.fsf@ft.bewatermyfriend.org> <XnsA077EE83CD2Fzzappergmailcom@80.91.229.10>
On Tue, 19 Jun 2012 22:26:52 +0000
zzapper <david@xxxxxxxxxx> wrote:
> Frank Terbeck wrote in news:87a9zzq8gy.fsf@xxxxxxxxxxxxxxxxxxxxxx:
>
> > zzapper wrote:
> > [...]
> >> ls ainf<tab> and to my surprise it completed correctly to mainfile.php
> > [...]
> >> So is forward completion standard with compinit or do you need flags
> >> set etc?
> >
> > I guess you're using the _approximate (or maybe _correct) completer with
> > some sort of `max-errors' style set.
> >
> > Regards, Frank
> >
>
> I have
>
> zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' \
> 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
I think that matcher list might be putting "*"s in interesting places.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
Messages sorted by:
Reverse Date,
Date,
Thread,
Author