From: David Siroky <siroky@dasir.cz>
To: zsh-workers@zsh.org
Subject: zsh git completion offers different parameters then current prefix
Date: Sat, 2 Aug 2014 21:34:15 +0200 [thread overview]
Message-ID: <20140802193415.GA12180@anubis> (raw)
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
next reply other threads:[~2014-08-02 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-02 19:34 David Siroky [this message]
2014-08-03 14:03 ` m0viefreak
-- strict thread matches above, loose matches on Subject: below --
2014-08-02 19:05 DS
2014-08-02 19:26 ` Axel Beckert
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=20140802193415.GA12180@anubis \
--to=siroky@dasir.cz \
--cc=zsh-workers@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).