From: blackie@ifad.dk (Jesper K. Pedersen)
To: zsh-users@sunsite.auc.dk
Subject: huge number of stats makes completion SLOOOW
Date: 07 Jun 2000 12:30:32 +0200 [thread overview]
Message-ID: <up66rlvl4n.fsf@merry.ifad.dk> (raw)
In-Reply-To: Zefram's message of "Fri, 26 May 2000 10:48:39 +0100 (BST)"
Hi.
When I do the following:
cd sp<TAB>
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)
<SNIP>
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.
next reply other threads:[~2000-06-07 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-07 10:30 Jesper K. Pedersen [this message]
2000-06-07 16:19 ` Pascal Byrne
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=up66rlvl4n.fsf@merry.ifad.dk \
--to=blackie@ifad.dk \
--cc=zsh-users@sunsite.auc.dk \
/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).