Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PATCH: RE: _path_files and _cd with explicit glob pattern



Still some funny thing

bor@itsrm2:/tools%> zsh -f
itsrm2% fpath=(/tools/src/zsh-3.1.5-pws-12/Completion/*(/))
itsrm2% source /tools/src/zsh-3.1.5-pws-12/Completion/Core/compinit
itsrm2% cdpath=(~ /tools/src)
itsrm2% cd s/*3TAB  ==>
itsrm2% cd save/SIspl31
SIspl31/           ncftp-3.0beta18/   tcl8.0.3/          zsh-3.1.5-pws-12/
ao13/              patch-2.5.3/       tk8.0.3/
autoconf-2.13/     samba-2.0.3/       top-3.4/
mc-4.5.13/         sendmail-8.9.3/    wget-1.5.3/

Note, that SIspl31 does *not* have autoremoved slash. This is true for all
cases, when directory is in cdpath and not in current dir (save is ~/save).
Continueing menu completion:

itsrm2% cd save/ao13
SIspl31/           ncftp-3.0beta18/   tcl8.0.3/          zsh-3.1.5-pws-12/
ao13/              patch-2.5.3/       tk8.0.3/
autoconf-2.13/     samba-2.0.3/       top-3.4/
mc-4.5.13/         sendmail-8.9.3/    wget-1.5.3/

but (/tools/src/autoconf-2.13)

itsrm2% cd src/autoconf-2.13/
SIspl31/           ncftp-3.0beta18/   tcl8.0.3/          zsh-3.1.5-pws-12/
ao13/              patch-2.5.3/       tk8.0.3/
autoconf-2.13/     samba-2.0.3/       top-3.4/
mc-4.5.13/         sendmail-8.9.3/    wget-1.5.3/

cheers

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author