From: John Cooper <john.cooper@eu.citrix.com>
To: John Cooper <john.cooper@eu.citrix.com>,
"'zsh-users@sunsite.dk'"<zsh-users@sunsite.dk>
Subject: RE: Problem with case-insensitive completion with zsh compiled for cygwin
Date: Mon, 22 Mar 2004 16:06:29 -0000 [thread overview]
Message-ID: <B5885AA769039C49BD9295955CB2E0E405897978@lonpexch501.ctxuk.citr ix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
I just noticed a typo in my problem description below. I meant to say:
if I `cd' to c:/ then both the following work:
$ ls WIN<tab> completes to WINDOWS/
$ ls win<tab> completes to WINDOWS/
That is, it works when not using the drive letter as the path prefix.
I've also checked the same problem arises after `zsh -f' and running the
following:
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
autoload -U compinit
compinit -C
I've also just noticed that these work:
$ ls C:/WIN<tab> completes to C:/WINDOWS/
$ ls C:/win<tab> completes to C:/WINDOWS/
.. but these fail:
$ ls c:/WIN<tab>
$ ls c:/win<tab>
That is, the completion works when the drive letter is uppercase, but not
when it is lowercase.
--- John
> _____________________________________________
> From: John Cooper
> Sent: 22 March 2004 10:14
> To: zsh-users@sunsite.dk
> Cc: John Cooper
> Subject: Problem with case-insensitive completion with zsh compiled
> for cygwin
>
> [I'm using zsh 4.2.0, compiled under a recent cygwin.]
>
> By default I am able to complete files using the drive letter as a prefix,
> e.g.,
> $ ls c:/WIN<tab> completes to c:/WINDOWS/
>
> However, if I enable case insensitive completion with the following:
>
> zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
>
> .. Then completion on paths starting with a drive letter no longer works:
> $ ls c:/WIN<tab> fails to complete
>
> However, if I `cd' to c:/ then both the following work:
>
> $ ls c:/WIN<tab> completes to c:/WINDOWS/
> $ ls c:/win<tab> completes to c:/WINDOWS/
>
> Any idea how to get this working again when the path starts with a drive
> letter?
>
>
> Thanks,
>
> --- John
>
reply other threads:[~2004-03-22 16:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='B5885AA769039C49BD9295955CB2E0E405897978@lonpexch501.ctxuk.citr ix.com' \
--to=john.cooper@eu.citrix.com \
--cc=zsh-users@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).