From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
To: Michael Schaap <cygwin@mscha.com>
Cc: <cygwin@cygwin.com>, ZSH Workers Mailing List <zsh-workers@sunsite.dk>
Subject: RE: Zsh observations
Date: Sun, 8 Jul 2001 21:07:33 +0400 (MSD) [thread overview]
Message-ID: <Pine.SV4.4.33.0107082101110.3442-100000@itsrm2.mow.siemens.ru> (raw)
In-Reply-To: <5.1.0.14.2.20010708145207.0271f560@imap.local.mscha.com>
On Sun, 8 Jul 2001, Michael Schaap wrote:
> If I'm trying to complete an executable in the current directory, e.g.
> % setu<TAB>
> it will give me neither "setup", nor "setup.exe". This is logical, because
> the special .exe handling is only for the PATH hash.
>
> Would you know a workaround for that?
>
Ehh ... path=($path .)
It completes only commands in path; that is correct and expected.
Do you mean, that under Cygwin local directory is always implicitly in
path (it is in DOS)?
>
> (Wouldn't it be nice if Cygwin did this foo.exe -> foo handling
> automagically for us?)
>
What do you mean exactly? Zsh hashes path by calling readdir(). I do *not*
want readdir return foo if real file name is foo.exe. There is nothing
Cygwin can do (at least, I cannot think of anything).
May be in case of foo.exe we should not hash foo.exe but just foo. That
seems logical.
-andrej
next prev parent reply other threads:[~2001-07-08 17:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5.1.0.14.2.20010705112435.03520c60@imap.mscha.org>
2001-07-05 11:33 ` Andrej Borsenkow
2001-07-05 13:15 ` Michael Schaap
2001-07-08 12:57 ` Michael Schaap
2001-07-08 17:07 ` Andrej Borsenkow [this message]
[not found] ` <Pine.SV4.4.33.0107082101110.3442-100000@itsrm2.mow.siemens .ru>
2001-07-08 17:30 ` Michael Schaap
2001-07-09 5:49 ` Andrej Borsenkow
2001-07-09 9:31 ` Michael Schaap
2001-07-09 11:28 ` Bart Schaefer
2001-07-09 11:44 ` Sven Wischnowsky
2001-07-09 17:30 ` Andrej Borsenkow
[not found] ` <Pine.SV4.4.33.0107092120020.12110-100000@itsrm2.mow.siemen s.ru>
2001-07-09 19:22 ` Michael Schaap
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=Pine.SV4.4.33.0107082101110.3442-100000@itsrm2.mow.siemens.ru \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=cygwin@cygwin.com \
--cc=cygwin@mscha.com \
--cc=zsh-workers@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).