From: Michael Schaap <cygwin@mscha.com>
To: <cygwin@cygwin.com>
Cc: "ZSH Workers Mailing List" <zsh-workers@sunsite.dk>
Subject: RE: Zsh observations
Date: Sun, 08 Jul 2001 14:57:15 +0200 [thread overview]
Message-ID: <5.1.0.14.2.20010708145207.0271f560@imap.local.mscha.com> (raw)
In-Reply-To: <000501c10546$4e7318e0$21c9ca95@mow.siemens.ru>
Hello Andrej,
At 13:33 5-7-2001, Andrej Borsenkow wrote:
>Apply this patch and do it :-) It was lost when gcc stopped setting _WIN32
>by default.
>
>Note, that it will make completion list executables twice - as foo and
>foo.exe. With new completion you may want to set something like
>
>zstyle ':completion::complete:-command-:*' ignored-patterns
>'*.(#i)(exe|dll)'
>
>to prevent *.exe and *.dll from appearing in the list (given, that every
>foo.exe is already hashed as foo, it is O.K.; and dll is not executable
>anyway - or is it?)
This works very nicely, with one exception.
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?
Thanks,
- Michael
(Wouldn't it be nice if Cygwin did this foo.exe -> foo handling
automagically for us?)
next prev parent reply other threads:[~2001-07-08 12:57 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 [this message]
2001-07-08 17:07 ` Andrej Borsenkow
[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=5.1.0.14.2.20010708145207.0271f560@imap.local.mscha.com \
--to=cygwin@mscha.com \
--cc=cygwin@cygwin.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).