From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24868 invoked from network); 29 Mar 2006 11:46:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Mar 2006 11:46:55 -0000 Received: (qmail 1666 invoked from network); 29 Mar 2006 11:46:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Mar 2006 11:46:47 -0000 Received: (qmail 23835 invoked by alias); 29 Mar 2006 11:46:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10104 Received: (qmail 23825 invoked from network); 29 Mar 2006 11:46:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Mar 2006 11:46:38 -0000 Received: (qmail 603 invoked from network); 29 Mar 2006 11:46:37 -0000 Received: from dep.let.rug.nl (129.125.8.60) by a.mx.sunsite.dk with SMTP; 29 Mar 2006 11:46:36 -0000 Received: from dep.let.rug.nl ([129.125.8.60]) by dep.let.rug.nl (SMSSMTP 4.1.11.41) with SMTP id M2006032913463500934 for ; Wed, 29 Mar 2006 13:46:35 +0200 Received: from loki (postfix@loki.let.rug.nl [129.125.8.86]) by dep.let.rug.nl (8.12.11.20060308/8.12.10) with ESMTP id k2TBkXN0026818 for ; Wed, 29 Mar 2006 13:46:34 +0200 (MEST) Received: by loki (Postfix, from userid 7006) id 88188E7AC; Wed, 29 Mar 2006 13:46:53 +0200 (CEST) Date: Wed, 29 Mar 2006 13:46:53 +0200 From: Francisco Borges To: Zsh User Subject: cd && cdable_vars (bug?) Message-ID: <20060329114653.GA24380@let.rug.nl> Mail-Followup-To: Zsh User Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: Linux/2.6.13.4 (i686) X-Editor: GNU Emacs 22.0.50.1 Organization: Alfa Informatica - Rijksuniversiteit Groningen User-Agent: Mutt/1.5.9i X-Scanned-By: milter-spamc/0.25.321 (dep.let.rug.nl [129.125.8.60]); Wed, 29 Mar 2006 13:46:35 +0200 Hello everybody! Here am I again, nitpicking on zsh... 8-) Two questions/comments about cd and cdable_vars: 1. I have cdable_vars set and I do have some data directories with "integer" names: 2, 3, 5. When trying to complete on these dirs, I get not only the dirs I'm supposed to get (those inside directory "5/.") but I also get all subdirs of the fifth entry in my dirstack as "directory after cdablevar". Which AFAIK should not happen, since there is a directory "5", so there should be no cdablevar lookup, right? 2. The first problem lead me to try completing on cdablevars from the dirstack. This is *not* something I would like to do, but I tried motivated by the noise when completing. And it failed! But it shouldn't, right? CDABLE_VARS (-T): ...try to expand the expression as if it were preceded by a `~'... With a filled dirstack, using % cd ~5 # takes me to the corresponding entry in the dirstack, % expand ~5 # expands to some dir... % cd 5 # fails with cdablevars set. Cheers! Francisco