Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: git diff HEAD - only show modified files in completion



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