From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2365 invoked by alias); 14 Feb 2015 07:33:52 -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: 19872 Received: (qmail 1207 invoked from network); 14 Feb 2015 07:33:39 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=QM3fnbPO c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=0HtSIViG9nkA:10 a=NEAV23lmAAAA:8 a=jVqsJXdFp26CgCnVO6kA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <150213233319.ZM2658@torch.brasslantern.com> Date: Fri, 13 Feb 2015 23:33:19 -0800 In-reply-to: <20150214015649.GA26370@vpn.5665sherbrooke.house> Comments: In reply to "SGT. Garcia" "can zsh do this? (fuzzy match, categorised suggestion)" (Feb 13, 8:56pm) References: <20150214015649.GA26370@vpn.5665sherbrooke.house> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users Subject: Re: can zsh do this? (fuzzy match, categorised suggestion) MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 13, 8:56pm, SGT. Garcia wrote: } Subject: can zsh do this? (fuzzy match, categorised suggestion) } } it comes down to: } 1. incremental and fuzzy match for types chars so far, and it's on always. I don't usually plug things like this because they tend to tickle any unstable corners of the shell, but auto-fu seems to be reasonably well written and probably works better than incremental-complete-word: https://github.com/hchbaw/auto-fu.zsh/blob/master/auto-fu.zsh Just use it with the _approximate completer and you should get something much like what you've described. } 2. categorisation in representation of suggestions/predictions This can be accomplished with the tags mechanism in completion zstyles plus appropriate values of the "format" style in the right contexts. It'd be pretty tedious to set up the first time, I suspect, but perhaps someone would do so and publish the result.