From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8445 invoked from network); 23 Feb 2001 11:19:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Feb 2001 11:19:28 -0000 Received: (qmail 10674 invoked by alias); 23 Feb 2001 11:19:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3642 Received: (qmail 10663 invoked from network); 23 Feb 2001 11:19:13 -0000 Date: Fri, 23 Feb 2001 11:48:51 +0100 (CET) From: Christoph Lange Reply-To: Christoph Lange To: zsh-users@sunsite.dk Subject: Stop _path_files from searching / In-Reply-To: <000201c09c94$dc5d0370$21c9ca95@mow.siemens.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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@gmx.de, http://www.cul.de/home/yaph/, ICQ #51191833