Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Completion problems on cygwin when nocaseglob is set
- X-seq: zsh-users 12082
- From: "John Cooper" <John.Cooper@xxxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxx>, "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: RE: Completion problems on cygwin when nocaseglob is set
- Date: Tue, 23 Oct 2007 12:11:39 +0100
- Cc: "John Cooper" <John.Cooper@xxxxxxxxxx>
- In-reply-to: <20071023101151.3757a369@news01>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <DD74FBB8EE28D441903D56487861CD9D223A0DF0@xxxxxxxxxxxxxxxxxxxxxx><20a807210710200509t43730713oa909fce4e0a57940@xxxxxxxxxxxxxx><DD74FBB8EE28D441903D56487861CD9D223A0DF8@xxxxxxxxxxxxxxxxxxxxxx><20071022103452.6c0580c6@news01><DD74FBB8EE28D441903D56487861CD9D224E86E7@xxxxxxxxxxxxxxxxxxxxxx><20071022123128.2db6000c@news01><DD74FBB8EE28D441903D56487861CD9D224E8A05@xxxxxxxxxxxxxxxxxxxxxx> <20071023101151.3757a369@news01>
- Thread-index: AcgVVMYQmYyVrea0QUWmw+kU59sI2QADN+Zg
- Thread-topic: Completion problems on cygwin when nocaseglob is set
Setting the fake-files zstyle doesn't help.
"print /*" does not include "/c" after I "mount -c /" (I don't know
whether it should?).
If I "mount -c /cygdrive" then "print /*" includes "/cygdrive" (and
completion works), and "print /cygdrive/*" lists all my mounted drives.
If I "mount -c /m" then "print /*" includes "/m" (and completion works).
It's only when I "mount -c /" that the problem occurs.
However, with zsh 4.2.6 (and an earlier version of cygwin) on WinXP,
"print /*" also does not include "/c", but completion works here.
--- John.
-----Original Message-----
From: Peter Stephenson [mailto:pws@xxxxxxx]
Sent: 23 October 2007 10:12
To: Zsh Users
Subject: Re: Completion problems on cygwin when nocaseglob is set
On Mon, 22 Oct 2007 14:13:38 +0100
"John Cooper" <John.Cooper@xxxxxxxxxx> wrote:
> I've attached the output from ^x? in the failing case.
I think the problem is somewhere in the utility compfiles. Given a path
/
and a PREFIX c it should come up with a list of files at least including
"c", but it doesn't. compfiles is incredibly obscure, but somewhere in
there it's doing globbing.
Does "print /*" show everything you would expect?
Does setting
zstyle ':completion:*' fake-files '/:c'
work around the problem?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author