zsh-users
 help / color / mirror / code / Atom feed
From: paxunix <paxunix@acm.org>
To: zsh-users@sunsite.dk
Subject: How to get faster completion if I make zsh assume what I've typed so far is correct?
Date: Tue, 23 Mar 2004 11:26:05 -0500	[thread overview]
Message-ID: <4060651D.4020107@acm.org> (raw)

Why does zsh have to glob every directory along a pathname in order to 
find completions within the final directory?  For example, take this case:

/one/two/three/four <TAB>

If I set -x, the output after hitting TAB shows zsh retrieves all the 
subdirectories within one, two, three and four.  I would like zsh to 
only bother globbing in four to find the files that I'm looking for--it 
should assume that whatever I've currently typed is correct and it ONLY 
needs to look in four--there is no need for it to know anything about 
the contents of one, two or three.  Is there a style setting or an 
option that I can use to do that?  If two, three and four are NFS, it 
can often slow down completion a lot--particularly if there are a lot of 
files in them.

-- 
Shawn Halpenny


             reply	other threads:[~2004-03-23 16:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 16:26 paxunix [this message]
2004-03-23 16:56 ` Aidan Kehoe
2004-03-23 17:06 ` Peter Stephenson
2004-03-24  3:37   ` paxunix
2004-04-07 10:41     ` paxunix
2004-04-07 11:41       ` Thorsten Kampe
2004-04-07 12:32         ` Oliver Kiddle
2004-04-14 20:04           ` Peter Stephenson
2004-04-15  3:52       ` paxunix
2004-04-15  4:05         ` paxunix

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=4060651D.4020107@acm.org \
    --to=paxunix@acm.org \
    --cc=zsh-users@sunsite.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).