zsh-users
 help / color / mirror / code / Atom feed
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: zsh-users@sunsite.auc.dk
Subject: 3.1.9 completion problems: automounter
Date: Mon, 11 Sep 2000 10:36:32 -0400	[thread overview]
Message-ID: <200009111436.KAA02215@soup.ads.apexinc.com> (raw)


I have /home set up to use an automounter.  Therefore, directories
under /home doesn't exist until I specifically access them.  As an
example, we have a directory called /home/sysadmin.  If I type

ls /home/sysadmin/

and hit TAB, I get no completions because zsh doesn't appear to
attempt to access /home/sysadmin at this point.  It only accesses
/home to see whether sysadmin exists, which it doesn't.  I have to do
something explicit to access /home/sysadmin first before I can use
completion.

Under tcsh, ls /home/sysadmin/ TAB works because tcsh actually
accesses /home/sysadmin before deciding whether it exists or not.

I'd like to know whether there is a way to get zsh to try to access
/home/sysadmin before deciding that there are no completions that
start from it.  Note: I am NOT looking for a way to type /home/sys TAB
and get sysadmin.  I am only looking for a way to get zsh to try
accessing the directory before deciding that it doesn't exist.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


             reply	other threads:[~2000-09-11 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-11 14:36 E. Jay Berkenbilt [this message]
2000-09-11 17:33 ` more wishes with automounter Alexandre Duret-Lutz
2000-09-12  6:58   ` Bart Schaefer
2000-09-13  9:32     ` Alexandre Duret-Lutz
2000-09-13 15:02       ` Bart Schaefer
2000-09-12  5:20 ` 3.1.9 completion problems: automounter Bart Schaefer
2000-09-12  6:14   ` Bart Schaefer

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=200009111436.KAA02215@soup.ads.apexinc.com \
    --to=ejb@ql.org \
    --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).