From: Brett Simmers <swtaarrs@gmail.com>
To: "Benjamin R. Haskell" <zsh@benizi.com>
Cc: zsh-workers@zsh.org
Subject: Re: Git completion slowness
Date: Thu, 9 Dec 2010 16:10:08 -0800 [thread overview]
Message-ID: <AANLkTiku8haLFoaKVGqxYOw59E9xm-WmLqHbFvVCMFN+@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1012091710280.2792@hp>
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
On Thu, Dec 9, 2010 at 2:18 PM, Benjamin R. Haskell <zsh@benizi.com> 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
next prev parent reply other threads:[~2010-12-10 0:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 22:06 Brett Simmers
2010-12-09 22:18 ` Benjamin R. Haskell
2010-12-10 0:10 ` Brett Simmers [this message]
[not found] ` <87k4jhsx78.fsf@ft.bewatermyfriend.org>
2010-12-10 11:37 ` Nikolai Weibull
2010-12-10 11:49 ` Frank Terbeck
2010-12-10 12:09 ` Nikolai Weibull
2010-12-10 11:54 ` Thomas Gstädtner
2010-12-10 12:11 ` Nikolai Weibull
2010-12-10 12:48 ` Oliver Kiddle
2010-12-10 14:00 ` Nikolai Weibull
2010-12-10 11:29 ` Nikolai Weibull
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTiku8haLFoaKVGqxYOw59E9xm-WmLqHbFvVCMFN+@mail.gmail.com \
--to=swtaarrs@gmail.com \
--cc=zsh-workers@zsh.org \
--cc=zsh@benizi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).