Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Remove redundancies from `git` completion
- X-seq: zsh-workers 49361
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Marlon Richert <marlon.richert@xxxxxxxxx>, Mikael Magnusson <mikachu@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Remove redundancies from `git` completion
- Date: Wed, 1 Sep 2021 11:22:54 -0700
- Archived-at: <https://zsh.org/workers/49361>
- In-reply-to: <20210901140327.GB27958@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDt9=VdVFqvvwUfXb8HBO_uxZAnaS7f_gtBTSHy_XLMWsg@mail.gmail.com> <CAHYJk3SpQ1KibJtbjOvEputdVL3XEeJywKewk-xxEgZxgLXowg@mail.gmail.com> <CAHLkEDtu9ABHKC4JXn9s3DkKvh7me=s1x=EBV3ibr+dnUwbj9w@mail.gmail.com> <CAHYJk3Qf5W2TY0u03bS7wUzR9Q8iXtwmpDRG8o8nTRCaBgMT1g@mail.gmail.com> <CAHLkEDu=hm77q1idtFg5PhPeh9FmxrvPOgrutz-Eaz0UBM_g9Q@mail.gmail.com> <20210901140327.GB27958@tarpaulin.shahaf.local2>
On Wed, Sep 1, 2021 at 7:04 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Anyone who wants to override them will still be able to do «autoload +X
> _git && _git && _git-foo() { … }» (or a better solution which someone
> will probably post in reply to this one).
It would be nice if e.g. «autoload $HOME/gitfuncs/_git_foo» were
sufficient, but the explicit definition of _git_foo inside _git will
clobber that autoload.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author