From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7728 invoked from network); 11 Mar 2004 11:46:17 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 11:46:17 -0000 Received: (qmail 20878 invoked by alias); 11 Mar 2004 11:45:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7133 Received: (qmail 20860 invoked from network); 11 Mar 2004 11:45:51 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 11:45:51 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.4.18.82] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 11:45:51 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.30) id 1B1OdJ-0003XR-UD; Thu, 11 Mar 2004 12:45:49 +0100 Date: Thu, 11 Mar 2004 12:45:49 +0100 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: cd completion and CDABLE_VARS Message-ID: <20040311114549.GJ16556@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre When I use completion with the cd command, zsh tries to complete to both directories and named directories, probably because I have CDABLE_VARS set. I would like cd to complete to directories by default, and if it is not possible (and only in this case), then the completion to named directories is performed. How can I do that? I have the above behavior with both zsh 4.1.1 and zsh 4.2.0-pre-3 under Debian. -- Vincent Lefèvre - Web: - 100% validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA