From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10381 invoked by alias); 10 Dec 2010 00:10:15 -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: 28513 Received: (qmail 13656 invoked from network); 10 Dec 2010 00:10:13 -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 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.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:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=tuBQWoCmXk06Y7m6PFcabp38KXqMj4S+0BgaakKvo2c=; b=dykuVGGNvoZjX3YmwVSrKf1+T9oRNl0Hi62TBrgFutobdYkx4LIa5uQZtmLcV3ZX8H kt+TIORE2A0tvejrRnmmNJnISgcjcIDeRtCimIjuf57oveRwfFo/mfj/lCTQEGsW32Fs qUQ7QH9OFDpCmYmWQm8j/NDc8nD4164eCx2Mg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Xo9e3NZU8wbHx4LWD9X0VLllfkJ0P7MV4Yx0toBgkQ/czNS64smzaqje2DFOkti3p1 M6gymOybPZMBF5z3WnjKXDulYd47phaFcr205NkM8P9xKE44B9zhDm8C+5PsnSq52RK9 unOOqfjB5aGE1rCAiehxI9J5XMVo/r0JWZWuc= MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 9 Dec 2010 16:10:08 -0800 Message-ID: Subject: Re: Git completion slowness From: Brett Simmers To: "Benjamin R. Haskell" Cc: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=0016e645b8d8627a590497032d76 --0016e645b8d8627a590497032d76 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Dec 9, 2010 at 2:18 PM, Benjamin R. Haskell wrote: > > I'm still using the workaround of pre-defining this function in a startup > script: > > function __git_files () {} > > That prevents all git file completion, which is the cause of the slowness > (specifically, _multi_parts completion for filenames). Recall that paths > are valid arguments to a `git checkout`. > > Thanks, that works great for now. I do occasionally use filename completion so I'll probably bind it to a key as well. -Brett --0016e645b8d8627a590497032d76--