Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: minor git completion tweaks
- X-seq: zsh-workers 39078
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: minor git completion tweaks
- Date: Sat, 20 Aug 2016 00:46:38 +0200
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TBcMWuk9eyEkShuJ/quHttW6aMKIYFM2ys+qHNRPX1k=; b=cRrOVbyNOBg8wwnFwcN/aPJGpFgDnbayMzla4yFvBtvgBltXsxTkHw8aRzutheE5Ze /WYs88h25YR5BkSXBV9DSekf0lGgwCh8FYvaxWqR6snKYZQhHTFPj4nTZ0sFgrcysrAI 234T1Nxv/pjQV8k2KEr3l0kFrW8sykA3C6bDPmjN/YNh/uFwctetu+VxasXdlMbe3+1a 8MGcsi/RWNxF4/HOdqaroEz01oPx0ILUXhSb7PJ3VwF3i7dY2NIWoJ0U2AXkCy1t3j4B 49pODdsDLQQBSOTCxv2/nA3DR0BQ9v9oeJskmkvAg4IL1kyLZDHtv+VGXRnXjAKez99i WLew==
- In-reply-to: <70414.1471625341@hydra.kiddle.eu>
- 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
- References: <70414.1471625341@hydra.kiddle.eu>
On Fri, Aug 19, 2016 at 6:49 PM, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> This is just a few minor tweaks that were suggested off-list following
> last week's patch.
>
> Oliver
>
> diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
> index ac4c90e..f4011aa 100644
> --- a/Completion/Unix/Command/_git
> +++ b/Completion/Unix/Command/_git
> @@ -249,11 +249,7 @@ _git-bisect () {
> ;;
> esac
> ;;
> - (${(j.|.)~good})
> - _arguments \
> - ': :__git_commits' && ret=0
> - ;;
> - (${(j.|.)~good}|skip)
> + (${(j.|.)~bad}|${(j.|.)~good}|skip)
> # TODO: skip can take revlists.
> _arguments \
> '*: :__git_commits' && ret=0
Could this be (~j.|.) instead? Just in case someone defines good/bad
terms with a pattern character in them :). Also, should it be "git
bisect terms" above this, rather than just "git terms"? I only have
the former, on git 2.8.xyz.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author