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

Re: [PATCH] Remove redundancies from `git` completion



On Wed, Sep 1, 2021 at 9:23 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> 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.

Moving all _git_foo functions from the _git file into separate,
#autoload files would solve that.




Messages sorted by: Reverse Date, Date, Thread, Author