From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10728 invoked by alias); 11 Dec 2012 20:34:32 -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: 30864 Received: (qmail 28607 invoked from network); 11 Dec 2012 20:34:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 74.125.83.43 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-proxyuser-ip:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=Qg6H+++KLAUpDX+jq7NGk3by5jbDvm+marb0oMVVDUo=; b=EcHlFCwnlSpzu7at0E7t2LIa/mLAWfHgONhzsBJPfVHYAAcL/BX01fvo5rH80VgVmH RcadJFmsdyLrWNNo2wFVtsIo27AbeXxr0rpzFOdDj/viVZT3rwVxVS5WrlPcAdjjBNW/ 78ZPVXyqRobq5ycRwCjiTDeJTRqG/HcY6CkS3+8iUzYlUM0jlynYtetYNU77Rk4b5qN4 eAU38jVuxLCnK24+j/l9ZNJl2aBqJKd7m0heqwdrzqwMEeLnjkWDSxkyDFFaUH7eYMua Ep2pDsYM5lGe6A0FLuH0lqDeRt6cuAYmkEumIALfhkqI26ADeV9nJwxqSlRbKc7Qw8t7 fS0w== X-ProxyUser-IP: 82.8.55.192 Date: Tue, 11 Dec 2012 20:28:40 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Completion is extremely slow here Message-ID: <20121211202840.219f47f4@pws-pc.ntlworld.com> In-Reply-To: <1355217217.5905.1@numa-i> References: <1355217217.5905.1@numa-i> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkFzHuaqn+pYSHD4IQ/yxjtpw3GzpenZLmN6SOJyz9qhjEuSikpMidd1VSqs2xtFD6a6rsX On Tue, 11 Dec 2012 10:13:37 +0100 Helmut Jarausch 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 > > 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 Web page now at http://homepage.ntlworld.com/p.w.stephenson/