Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

The _match completer breaks the "menu" zstyle?



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



Messages sorted by: Reverse Date, Date, Thread, Author