From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12944 invoked from network); 7 Jun 2000 10:35:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 2000 10:35:11 -0000 Received: (qmail 18834 invoked by alias); 7 Jun 2000 10:32:22 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3123 Received: (qmail 18788 invoked from network); 7 Jun 2000 10:31:52 -0000 X-Authentication-Warning: merry.ifad.dk: blackie set sender to blackie@ifad.dk using -f To: zsh-users@sunsite.auc.dk Subject: huge number of stats makes completion SLOOOW From: blackie@ifad.dk (Jesper K. Pedersen) Date: 07 Jun 2000 12:30:32 +0200 In-Reply-To: Zefram's message of "Fri, 26 May 2000 10:48:39 +0100 (BST)" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi. When I do the following: cd sp It takes most of ten seconds before it completes for me. I tried to do an strace on it, and I saw the following: [pid 22114] access("/home/blackie/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/usr/X11R6/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/gnupg-1.0.1/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/gimp-1.1.15/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/gtk+-1.2.6/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/glib-1.2.6/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/ssh-2.0.13/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/photopc-3.01/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/gtimer-1.1.4/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/Acrobat4/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/yard-1.17/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/usr/openwin/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/cdsession/bin/cd", X_OK) = -1 ENOENT (No such file or directory) [pid 22114] access("/opt/mosml/bin/cd", X_OK) = -1 ENOENT (No such file or directory) My path is quite long, so there is a huge number of directories it must go through. Is there an option I can set, which makes my cd command faster? Kind Regards Jesper.