From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: Completion is extremely slow here
Date: Tue, 11 Dec 2012 20:28:40 +0000 [thread overview]
Message-ID: <20121211202840.219f47f4@pws-pc.ntlworld.com> (raw)
In-Reply-To: <1355217217.5905.1@numa-i>
On Tue, 11 Dec 2012 10:13:37 +0100
Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:
> I'm using zsh for many many years now. But I'm lazy.
> I'm using the GIT version which I update nearly once a week.
> But I haven't updated my .zsh* files and my zsh-completion(s)
> are somewhat old (in GenToo versioning: zsh-completion-20091203-r1
> and zsh-completions-0.7.0)
>
> Sometimes (only), in a freshly opened xterm, when I enter
> ./hg<Tab>
>
> it takes up to 20 seconds to complete though there is only a single
> executable starting with 'hg' in that directory.
> And my PATH is not too complicated
> .:/home/jarausch/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3:/usr/lib64/opencascade-6.5/ros/lin/bin:/usr/games/bin:/usr/brlcad/bin:/opt/ekopath/bin
>
> The path /usr/games/bin doesn't exist and I don't know where it comes
> from.
> I've checked /etc/zsh/* /etc/profile and $HOME/.z*
>
> What am I missing?
Try using ^X? as the completion command to get a trace of what's going
on. To get timings, try
PS4="%* %N:%i:%_> "
which is only to the nearest second but it should be good enough.
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
prev parent reply other threads:[~2012-12-11 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 9:13 Helmut Jarausch
2012-12-11 20:28 ` Peter Stephenson [this message]
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=20121211202840.219f47f4@pws-pc.ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.org \
/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).