From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7531 invoked by alias); 20 Apr 2013 17:35:45 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31295 Received: (qmail 16206 invoked from network); 20 Apr 2013 17:35:34 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130420103519.ZM11012@torch.brasslantern.com> Date: Sat, 20 Apr 2013 10:35:19 -0700 In-reply-to: Comments: In reply to Ramkumar Ramachandra "Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer" (Apr 20, 10:43pm) References: <1366462573-15545-1-git-send-email-artagnon@gmail.com> <1366462573-15545-3-git-send-email-artagnon@gmail.com> <87zjwt5jkw.fsf@ft.bewatermyfriend.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: ZSH Workers Subject: Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 20, 10:43pm, Ramkumar Ramachandra wrote: } } In the meantime, can someone tell me how to test _git quickly? I don't } want to have to re-compile, install, and start a new shell to test a } small change. Assuming your current working directory is the root of your git pull, fpath=($PWD/{Completion{,/**/_*(N:h)},Functions/*(/N)} $fpath) unfunction -m _git\* autoload -Uz $^fpath/_git*(N:t) will probably do it. There's a similar trick for module_path if you need to test compiled modules, but it also requires creating module aliases to satisfy inter-module naming dependencies.