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

Re: Use helper functions for git completion in my own completions



On Tue, Oct 18, 2011 at 22:05, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Tue, 18 Oct 2011, Ansgar Burchardt wrote:

>> is it possible to use the helper functions defined in "_git" for the git
>> command in my own completion functions?
>
> Yes, though with the recent(-ish) rewrite (and in general), I'm not sure
> there's really a stable API.
>
> E.g. if __git_pattern_escape isn't needed by _git anymore, I suspect it
> would simply disappear.  As would __git_commits2, or whatnot.

Yes.  The helpers are still in need of a clean-up.  I have a rather
sizable todo-list still, but preciously little time.



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