From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15644 invoked by alias); 20 Jun 2012 08:50:55 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17152 Received: (qmail 9407 invoked from network); 20 Jun 2012 08:50:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Wed, 20 Jun 2012 09:07:22 +0100 From: Peter Stephenson To: Subject: Re: zsh forward completion (quite embarrassing) Message-ID: <20120620090722.5406adfa@pwslap01u.europe.root.pri> In-Reply-To: References: <87a9zzq8gy.fsf@ft.bewatermyfriend.org> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.101.10.18] X-Scanned-By: MailControl 7.7.2 (www.mailcontrol.com) on 10.68.0.114 On Tue, 19 Jun 2012 22:26:52 +0000 zzapper wrote: > Frank Terbeck wrote in news:87a9zzq8gy.fsf@ft.bewatermyfriend.org: > > > zzapper wrote: > > [...] > >> ls ainf 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 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