Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Stop _path_files from searching /
- X-seq: zsh-users 3642
- From: Christoph Lange <langec@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Stop _path_files from searching /
- Date: Fri, 23 Feb 2001 11:48:51 +0100 (CET)
- In-reply-to: <000201c09c94$dc5d0370$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Christoph Lange <duke@xxxxxxxxxxxxxx>
Hi,
when I try to complete a path name like /path/to/dir in zsh 3.1.9 on
Linux, the completion function _path_files steps up the directory tree and
searches for completions in /, /path, /path/to and /path/to/dir. These
directories are not in my cdpath.
This annoys me because my slow CD-ROM drive is automounted with autofs.
When a CD lies in the tray and a path is completed, zsh accesses /cdrom and
thereby mounts the CD-ROM. Of course, I could remove the symlink from /cdrom
to the autofs directory, but I'd rather like to get the job done by
configuring the zsh completion.
Any ideas?
Thanks in advance,
Christoph
--
To iterate is human; to recurse, divine.
Christoph Lange, langec@xxxxxx, http://www.cul.de/home/yaph/, ICQ #51191833
Messages sorted by:
Reverse Date,
Date,
Thread,
Author