From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9635 invoked by alias); 28 Sep 2010 00:29:52 -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: 15432 Received: (qmail 26914 invoked from network); 28 Sep 2010 00:29:50 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, 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 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=TJXNVfTQkzIyW4a6nIWq1AEt1RgYartEMlilFq/NFZ0=; b=hvH1spc/Ez1iccMxREddHDp6PhymkTckYQgLy79ErQMeBVTki5W1QUhIeZM6wnDJtv 2XFRtTP5MhCF2szZ6pM907atGmA4+EDWPbOIWRB3JCQQss+Esc+Omn+a1A+IOlD8tfrA tjp24zUmrgHasx4Jx73w6rYWBEc5qR/EfAsh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Hds3ICNPsMBHcmcHasIvroFvH1tMKxT3UwR3b3D4wfdr4n7Y8mae/v/7L2Ndtlhw2J 4U2bXZ6Gf0/GZ80g7MHczVOBXQ0HlyK099DgclBcIrOoy+UyaPdscGhnF2Tu/GiW3NS8 5oI4kwuT5c1vkY4e0GcODhXAuxZTDofJTpz1Q= MIME-Version: 1.0 Date: Tue, 28 Sep 2010 01:29:46 +0100 Message-ID: Subject: _git Completion and custom commands From: Conrad Irwin To: zsh-users@zsh.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Zsh, I finally got round to trying out zsh today, and wow is it cool =97 I don't believe I've been stuck on bash for all this time :). The one issue I've found is that the _git completion function (as of 4.3.10 shipped with Debian testing) does not include custom commands (though it does include aliases). (For those of you unfamiliar with git, any executable in your path with a name like git-* can be called as git * with no hyphen) My question is then: how would I add my custom commands' names to the list already completed by _git (without completely overriding or modifying the system-wide configuration)? Thanks for your time, Conrad