From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: zsh-3.1.2-pws-12: append slash in cd completion weirdness with globcomplete
Date: Mon, 15 Mar 1999 14:33:22 +0300 [thread overview]
Message-ID: <001c01be6ed7$a1fc8ee0$21c9ca95@mowp.siemens.ru> (raw)
Slash is autoappended if directory in in current directory but not if it is
in cdpath. E.g.:
bor@itsrm2:~%> cd samba-2.0.3 (/tools/src/...)
but
bor@itsrm2:~%> cd save/ (where save is subdir of current)
this all with new completion stuff 'course. Unmodified from pws-12 if
globcomplete is unset - it's O.K.
/andrej
P.S. Looking at _cd I'd say, it is the subdir case that is wrong. Why does
_path_files decide for me, if I want to use any magical suffix? If anybody
likes it this way - let him set user preferences.
Again, any function from Core must do _only_ what it is told explicitly. It
should _not_ assume anything about user's intention. So, the correct way in
above example is to use
_path_files -/ -W cdpath -S/ -q
in _cd.
cheers
/andrej
next reply other threads:[~1999-03-15 11:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-15 11:33 Andrej Borsenkow [this message]
1999-03-15 11:47 Sven Wischnowsky
1999-03-15 12:03 ` Andrej Borsenkow
1999-03-15 12:12 Sven Wischnowsky
1999-03-15 12:44 ` Andrej Borsenkow
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='001c01be6ed7$a1fc8ee0$21c9ca95@mowp.siemens.ru' \
--to=borsenkow.msk@sni.de \
--cc=zsh-workers@sunsite.auc.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).