Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh git completion offers different parameters then current prefix
- X-seq: zsh-workers 32941
- From: David Siroky <siroky@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zsh git completion offers different parameters then current prefix
- Date: Sat, 2 Aug 2014 21:34:15 +0200
- 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
Hi!
Typing in zsh
% git diff --ca<hit TAB>
offers
--cached -1 -3 -C -M -R -U -l -q -w
-0 -2 -B -G -O -S -b -p -u -z
so there are completions completely out of the current typed prefix. How can I fix it?
My completion configuration is:
autoload -Uz compinit
compinit
unsetopt AUTO_MENU MENU_COMPLETE COMPLETE_IN_WORD
zstyle ':completion:*' completer _complete
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose false
Messages sorted by:
Reverse Date,
Date,
Thread,
Author