zsh-users
 help / color / mirror / code / Atom feed
From: Francisco Borges <f.borges@rug.nl>
To: Zsh User <zsh-users@sunsite.dk>
Subject: cd && cdable_vars (bug?)
Date: Wed, 29 Mar 2006 13:46:53 +0200	[thread overview]
Message-ID: <20060329114653.GA24380@let.rug.nl> (raw)

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


             reply	other threads:[~2006-03-29 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 11:46 Francisco Borges [this message]
2006-03-29 18:09 ` Bart Schaefer
2006-03-29 19:40   ` Francisco Borges

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=20060329114653.GA24380@let.rug.nl \
    --to=f.borges@rug.nl \
    --cc=zsh-users@sunsite.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).