* RE: Problem with case-insensitive completion with zsh compiled for cygwin
@ 2004-03-22 16:06 John Cooper
0 siblings, 0 replies; only message in thread
From: John Cooper @ 2004-03-22 16:06 UTC (permalink / raw)
To: John Cooper, 'zsh-users@sunsite.dk'
[-- 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
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-22 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-22 16:06 Problem with case-insensitive completion with zsh compiled for cygwin John Cooper
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).