From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26492 invoked by alias); 26 Feb 2013 16:26:53 -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: 17649 Received: (qmail 482 invoked from network); 26 Feb 2013 16:26:42 -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 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130226082611.ZM4556@torch.brasslantern.com> Date: Tue, 26 Feb 2013 08:26:11 -0800 In-reply-to: Comments: In reply to joe M "Zsh completion configuration with history-words as another group to _complete" (Feb 26, 1:09am) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Zsh completion configuration with history-words as another group to _complete MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 26, 1:09am, joe M wrote: } } zstyle -e ':completion:*' completer \ } 'compprefuncs=(_history_word_list) reply=(_complete _match } _approximate _ignored _prefix)' I'm now regretting having mentioned compprefuncs in that thread last month. Really, just don't mess with it unless you know exactly why you need it. } The list of history-words show up along with any other groups shown by } _complete or any of the completers in "reply". But, unfortunately, it } does not execute the matched word with one Enter keypress. I need to } press Enter twice for the history word to be used. That's probably because _history is adding so many matches that a menu is always being invoked. } I am not sure if the above is the correct approach to this issue I think my previous response covers this ... (BTW, zsh-workers see all zsh-users postings, no need to copy both lists.)