zsh-users
 help / color / mirror / code / Atom feed
* cd && cdable_vars (bug?)
@ 2006-03-29 11:46 Francisco Borges
  2006-03-29 18:09 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Francisco Borges @ 2006-03-29 11:46 UTC (permalink / raw)
  To: Zsh User

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-29 19:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29 11:46 cd && cdable_vars (bug?) Francisco Borges
2006-03-29 18:09 ` Bart Schaefer
2006-03-29 19:40   ` Francisco Borges

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).