From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18576 invoked by alias); 11 Sep 2012 13:06:32 -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: 17258 Received: (qmail 8200 invoked from network); 11 Sep 2012 13:06:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at websitewelcome.com designates 69.93.216.26 as permitted sender) Message-ID: <504F34BC.7010406@goots.org> Date: Tue, 11 Sep 2012 13:55:24 +0100 From: Nick Cross User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Command Completion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator9.hostgator.com X-AntiAbuse: Original Domain - zsh.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - goots.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([172.17.130.193]) [128.240.4.255]:37111 X-Source-Auth: goots@goots.org X-Email-Count: 1 X-Source-Cap: cm5jO3JuYztnYXRvcjkuaG9zdGdhdG9yLmNvbQ== Hi, Would anyone be able to help with fixing a completion script? Or would the IRC channel be better> The https://github.com/defunkt/hub project provides extra functions to git and supplies the following completion script: https://github.com/defunkt/hub/blob/master/etc/hub.zsh_completion Ideally I would like to use the hub binary command to complete standard git commands plus the extra commands it provides (e.g. pull-request). While I can see how to write a basic completion for a command what I'm not sure about is how to include and add to another completion set. Thanks! Nick