Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
The _match completer breaks the "menu" zstyle?
- X-seq: zsh-workers 32890
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: The _match completer breaks the "menu" zstyle?
- Date: Sat, 19 Jul 2014 18:11:39 -0700
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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