From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Zsh completion configuration with history-words as another group to _complete
Date: Tue, 26 Feb 2013 08:26:11 -0800 [thread overview]
Message-ID: <130226082611.ZM4556@torch.brasslantern.com> (raw)
In-Reply-To: <CAHjjW152=f9aBk52CxpFWWioPi__U04eEktdW5iWVTkYSDMr6A@mail.gmail.com>
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.)
prev parent reply other threads:[~2013-02-26 16:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 6:09 joe M
2013-02-26 7:23 ` joe M
2013-02-26 16:33 ` Bart Schaefer
2013-02-26 16:26 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=130226082611.ZM4556@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).