From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18498 invoked by alias); 9 Jan 2016 23:54:12 -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: 21135 Received: (qmail 11712 invoked from network); 9 Jan 2016 23:54:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:in-reply-to :comments:to:subject:mime-version:content-type; bh=4YNkeUiR2ys7oJ1AdTA6N9MEjXvEzDN4aF4OSHQdxJs=; b=bzNZ+rvcpgXdtKsJpVFCEN3soLR/HhXe30TGaOnVWaD/ZtgjQW7ejiS4HBb55Bg3Q8 tUenMb8/Hq7oKNafg64QsTyacy1th74scb9+Rc1/xXxK5Ou0ud4dVW29+o0xYXqhut4w 8URZzxr3QeO7JJDhivxomXbLx38L1phHiOJLHTGP0p9aucOAIHYbAywgxk0VxT0DIrl9 ClQFaSLiBycIE0NUIrDyfnpFaBKCINS7SJLtSxcilkGOT8Tf8XREjjbQzvIsD0dR29Wf vXnnu/xREbR1yQY+gpgtC7OaZZt8ZUMkydEF/LcPO4kAopBuI91WQR1CgsUXkJIKq2Li ES9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:in-reply-to:comments:to:subject:mime-version :content-type; bh=4YNkeUiR2ys7oJ1AdTA6N9MEjXvEzDN4aF4OSHQdxJs=; b=eHpW+TZ7//ttn4XbIftAGgVl3SDhhS6yl7fHqG5j48q3Hk5zZ4rxjGsZ32Ktp3KU3m JHM3j7n770j0R/Il+3TXrdP7LcqKfUlI9WBJD0iKiveifXVfWjdKsKBi/h3yTpR+FHOn RJZCTkhA2CFSVFUp+mQFrB0ZCh5CxU8ro+JN684hsyRdXsW7MZOSxuIhpRrpfo3obB+4 OW13VGOpbXScmBpeqSc7Ycexo9TPbZkqwHZawBQOzKGCgOAMXkIwK3CdptphPmfZ4rvC 88cL9HO48zPM6ZGOv1b7JB7raQAoTidTeIPopHUIOP33AUvJevpUlDauyxeibdKL4CKW 9bZA== X-Gm-Message-State: ALoCoQn32IEsPrq2z55SBMWqveg8Sr3noC9b6ZazN+woo3hoMbGDQXNNbbGmudIJ+REwfmjN3hVL74UeyPAfOpNXiNYFHekYlg== X-Received: by 10.66.150.37 with SMTP id uf5mr173017516pab.30.1452383647362; Sat, 09 Jan 2016 15:54:07 -0800 (PST) From: Bart Schaefer Message-Id: <160109155417.ZM4367@torch.brasslantern.com> Date: Sat, 9 Jan 2016 15:54:17 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Announcement of Zsh Command Architect v1.0" (Jan 8, 6:04pm) References: <20160108093313.GA16910@linux.vnet.ibm.com> In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Announcement of Zsh Command Architect v1.0" (Jan 9, 9:21am) X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Announcement of Zsh Command Architect v1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 8, 6:04pm, Sebastian Gniazdowski wrote: } } I've invoked bindkey -e, compinit and the zstyle, Alt-/ shows set of } words, when repeated it iterates over them. One problem: duplicates. } Any solution? zstyle ':completion:*:history-words' remove-all-dups true To find this you must either read comments in _history_complete_word or search the docs, because of the way all the styles are grouped in one doc section separate from all the widgets or completion functions. } Also, is it possible to select with cursor keys? You have to override the complete-word binding in the #compdef line of _history_complete_word, like so: compdef -K _history_complete_word \ _history-complete-older menu-select '\e/' \ _history-complete-newer menu-select '\e,' On Jan 9, 9:21am, Sebastian Gniazdowski wrote: } Subject: Re: Announcement of Zsh Command Architect v1.0 } } PS. It completes only "The_Voice...", does not propose the other } segment "The\ Voice...", don't know why I'm not sure why either, because for me it works with both variations. What does print -lr "${historywords[@]}" | fgrep Voice show in the context you are testing?