zsh-workers
 help / color / mirror / code / Atom feed
* The _match completer breaks the "menu" zstyle?
@ 2014-07-20  1:11 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2014-07-20  1:11 UTC (permalink / raw)
  To: zsh-workers

Starting from zsh -f with

autoload -U compinit
compinit -D
zstyle ':completion:*' completer _complete _match
bindkey $'\t' complete-word

I'm trying to explicitly *disable* menu completion (not selection, but that
too).  I have tried all of

zstyle ':completion:*' menu false
zstyle ':completion:*' menu off=1
zstyle ':completion:*' menu yes=99999

but as long as _match is in the completer style, completing after a word
containing a glob pattern enters menu completion.  (The same happens if
_match is not in the completer list but the glob_complete option is set,
so that may be an additional clue.)

It seems to be necessary to also do

zstyle ':completion:*:match:*' insert-unambiguous pattern

but even with that set, menu completion is entered if complete-word is
invoked twice in a row (press TAB twice).


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-20  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-20  1:11 The _match completer breaks the "menu" zstyle? Bart Schaefer

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).