Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use helper functions for git completion in my own completions
- X-seq: zsh-users 16515
- From: Nikolai Weibull <now@xxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Use helper functions for git completion in my own completions
- Date: Tue, 18 Oct 2011 22:28:50 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=z5Ua6xQY5hObeRRq80yIwn8CmM+RSJ25TkfwhxaVukc=; b=MOTicgjCeehGikSzj4ECK8wLVOVwzCyxHTJl0WqpRU4cudA3Lo2On0NCVZRtkjdlfX /r6QyLiUU+FBWdj6paGNR9FIZOcc68jD+InpE4BrrTkFUHwbn8frvUos5ZO77hW0dVrm oGLnl7hfMok+Yd140xCUDvNZIyw52z1mPhaNk=
- In-reply-to: <alpine.LNX.2.01.1110181600400.23569@hp.internal>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <87mxcyv6u6.fsf@deep-thought.43-1.org> <alpine.LNX.2.01.1110181600400.23569@hp.internal>
- Sender: nikolai.weibull@xxxxxxxxx
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