zsh-workers
 help / color / mirror / code / Atom feed
* Completion is extremely slow here
@ 2012-12-11  9:13 Helmut Jarausch
  2012-12-11 20:28 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 2012-12-11  9:13 UTC (permalink / raw)
  To: zsh-workers

Hi,

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?

Many thanks for a hint,
Helmut.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Completion is extremely slow here
  2012-12-11  9:13 Completion is extremely slow here Helmut Jarausch
@ 2012-12-11 20:28 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2012-12-11 20:28 UTC (permalink / raw)
  To: zsh-workers

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-11 20:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-11  9:13 Completion is extremely slow here Helmut Jarausch
2012-12-11 20:28 ` Peter Stephenson

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).