Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: _path_files and _cd with explicit glob pattern
- X-seq: zsh-workers 5861
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: _path_files and _cd with explicit glob pattern
- Date: Fri, 19 Mar 1999 12:59:51 +0300
- Importance: Normal
- In-reply-to: <199903190835.JAA00723@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> > And another problem with _cd (I think)
> >
> > itsrm2% cd s/*3TAB
> > Beep
>
> Is this still with the setting of `cdpath' you gave above? If so, this
> is correct ;-)
>
Ehem ... cd first looks in the current directory. So
bor@itsrm2:~/test%> ls -l cd
total 0
drwxr-xr-x 2 bor sinix 96 Mar 19 12:55 foo
bor@itsrm2:~/test%> echo $cdpath
/home/bor/test/cd
bor@itsrm2:~/test%> cd c/*oTAB
Beeps, but
bor@itsrm2:~/test%> cd cd/foo
bor@itsrm2:~/test/cd/foo%>
So, it looks, like cd completion ignores current directory
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author