Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git diff HEAD - only show modified files in completion
- X-seq: zsh-users 26109
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Subject: Re: git diff HEAD - only show modified files in completion
- Date: Sat, 17 Oct 2020 08:24:15 -0700
- Archived-at: <https://zsh.org/users/26109>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-10/CAH%2Bw%3D7brPKzeh_KrpL%3DLZpojttrdRz7DkqLcfHdauqnpQq5sTA%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-oi1-f171.google.com) smtp.remote-ip=209.85.167.171; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Cc: Ahmad Ismail <ismail783@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rTSo872Sa41SkcamU0PPcLDxtH3XIAjkEwh1ijIIp5o=; b=qnF/MLVnh9DdUnrqA7eK6qnAQhxGFPWJmgU/NQSr5fJ+u/JXj/voiyFdL4EkCQVESi uc1dM7TDHMv2igkj6YT3waj0Je6B0jsmfI8XU1lHfc4UKleVWOBo2PWbhPmqebCgGH5F rFBnd2na2GwmIrpkHM1Y4lbphlOP+aooF2gpablyjT4ffPw3hqIxhBV9ChPfJGQ3S6yE gHKPWHxDsCHj2Wr2r8zVrgEOl6EckgXYeqp1qzVz5nmcN7AL17/paSVtMrKGGavK7T+Y /7hZFkfObz2Nn1NR8vKzRHOd2xSQM8ZKIzceP9N+N1WyB5K9H0toFKrMk+AQnKR3l+Ln 2OQw==
- In-reply-to: <51151-1602923600.276703@fJFe.e1_b.HfoP>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <CAHAhJwKG1e5tQUeTSv+FqkoCvZq3uX5DEe=t+TUoB3RhWMO-ow@mail.gmail.com> <CAHAhJwLAD04fAMBy-Kwm6WM1uiBg+xr+4-0e9+3c674Xs=GJvQ@mail.gmail.com> <51151-1602923600.276703@fJFe.e1_b.HfoP>
- Sender: zsh-users-request@xxxxxxx
On Sat, Oct 17, 2020 at 1:33 AM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> In this case, it's probably easier to tweak the original _git-diff
> function than to modify it from a wrapper.
I was thinking there should be some way to implement this with a
zstyle by changing the program invoked by _call_program for the
"files" style, but I didn't have time to work out the incantation for
doing that in the nested subcommand context.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author