From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4146 invoked by alias); 18 Oct 2011 15:27:34 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16512 Received: (qmail 13753 invoked from network); 18 Oct 2011 15:27:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.216.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=1nZfw+uXmsIFUa6NQqP2WsRF9C9/3X7fSd7L1GgggRM=; b=ePcf10sSekpqgRz58yuijKOQUnqyutkvPXkv6+MAhIN82Wi+OALxKUi7ZqrHQP1dkg +sg+65KKk9QXcHQplKlUfj6xbbGEg5w0XnYFwRWV2SpxAweyXSl6z7s/7jLavRCF7Icq OgfCoqXV6cevf1tFFm+xxHGfi7M7vgx0UAC28= MIME-Version: 1.0 In-Reply-To: <87mxcyv6u6.fsf@deep-thought.43-1.org> References: <87mxcyv6u6.fsf@deep-thought.43-1.org> From: Julien Nicoulaud Date: Tue, 18 Oct 2011 16:58:18 +0200 Message-ID: Subject: Re: Use helper functions for git completion in my own completions To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=0016e64af75c59e66704af93f58f --0016e64af75c59e66704af93f58f Content-Type: text/plain; charset=ISO-8859-1 May be _dispatch could do it ? 2011/10/18 Ansgar Burchardt > Hi, > > is it possible to use the helper functions defined in "_git" for the git > command in my own completion functions? > > I am taking my first steps with writing completions for the > git-import-dsc, git-import-orig commands in Debian, but am not surehow I > can make sure helper functions such as __git_branch_names are available > when I user "git-import-dsc" (they are available when I use "git > import-dsc"). > > Regards, > Ansgar > --0016e64af75c59e66704af93f58f--