From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23308 invoked by alias); 14 Feb 2015 09:51:42 -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: 19873 Received: (qmail 17678 invoked from network); 14 Feb 2015 09:51:29 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ECrvQR+Xz78Xjm8NlUKs9JAK6M2cCDzLOtpWgyQpZc8=; b=OHZd4zyYzaKo97Lw2sCPD6QGeeWOKlGprmNhahu7y8m7+qXnXQycWDqvG1EWESb8tt cRbwxt5bg7HuPsoy4b04f9+NwmBGB0NB+QUPIkToE5Hvj+ozHwUuiI8kX9Mi6F+LjbxP GwEElJDdoGwuqWh4uf/IROL0PW44/RC8hU2qPZsGOH5UT3lJdD4dHMt4f3WK2xsuQQeS CtYrkhVvxDqTgG4GpD46lLrdCJ75k650bBCxvT/97F0rFn1IKRY73LXb5n1gQHUVUeEy hEFSQ+DjCEm3pQt15cMjRty4lhK2ckvFuNKM/VkJNBK8kgx9Chq5iDX6uUj7z0O5vYlW sc6g== X-Received: by 10.229.64.67 with SMTP id d3mr35277358qci.9.1423907487061; Sat, 14 Feb 2015 01:51:27 -0800 (PST) Date: Sat, 14 Feb 2015 04:51:20 -0500 From: "SGT. Garcia" To: Bart Schaefer Cc: zsh-users Subject: Re: can zsh do this? (fuzzy match, categorised suggestion) Message-ID: <20150214095120.GB26370@vpn.5665sherbrooke.house> Mail-Followup-To: Bart Schaefer , zsh-users References: <20150214015649.GA26370@vpn.5665sherbrooke.house> <150213233319.ZM2658@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150213233319.ZM2658@torch.brasslantern.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) On Feb 13 23:33 -0800, Bart Schaefer wrote: > 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. yest it does. thank you very much indeed. btw, its author has also contributed to vimperator. > > } 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. auto-fu sort of does that but by bordering categories with the name of each category; good enough for now. i rather see the author of auto-fu implement it. it seems advanced for my knowledge of zsh.