Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Git completion slowness
- X-seq: zsh-workers 28513
- From: Brett Simmers <swtaarrs@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Git completion slowness
- Date: Thu, 9 Dec 2010 16:10:08 -0800
- Cc: zsh-workers@xxxxxxx
- 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=
- In-reply-to: <alpine.LNX.2.01.1012091710280.2792@hp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <AANLkTi=4OkTExqGZOCY8B64HGatuKh9S=8hkfKkMrF3K@xxxxxxxxxxxxxx> <alpine.LNX.2.01.1012091710280.2792@hp>
On Thu, Dec 9, 2010 at 2:18 PM, Benjamin R. Haskell <zsh@xxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author