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 12097
 
- From: "Vin Shelton" <acs@xxxxxxxxxxxxxxxxxxxx>
 
- To: "John Cooper" <John.Cooper@xxxxxxxxxx>
 
- Subject: Re: Completion problems on cygwin when nocaseglob is set
 
- Date: Wed, 24 Oct 2007 10:01:52 -0400
 
- Cc: "Peter Stephenson" <pws@xxxxxxx>, "Zsh Users" <zsh-users@xxxxxxxxxx>
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=beta;        h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;        bh=aC7V67iljpP7V+Rf4iv+VoMRZw5HKWohgYtNCFAeilc=;        b=Rhc5imU/QUpGEqmsEg7rbTz8u9Ax5tOmWD3kDc1MAihTnWYyi0ekge4YWcqNUsfsKVqN98RcFDswjmlpIVbWqiyKLxB8aq6bycfUsJ0obGxXTatvrhYusUj0yaliaYFeKdyDueM2vWmAY5F5D++IGhgFPUB9LyusQaara+bZ15E=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=beta;        h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;        b=ni7+dQKPxvpTRaOOd4urx5SCY12QLen0OqoAxuSQtUXlJgK5yiB2wXOBqNsXgFC+I+ExpU6UnLWXvRqBTSCp3MxuAYi/J3d7M7zleqsKZU0w24kRTcpTY9ftLfO5bPAn+JsYHOb8NgzoipJI1fC/3nj6hCfl4ANI0FAHyj/q45M=
 
- In-reply-to: <DD74FBB8EE28D441903D56487861CD9D22719439@xxxxxxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- References: <DD74FBB8EE28D441903D56487861CD9D223A0DF0@xxxxxxxxxxxxxxxxxxxxxx>	 <DD74FBB8EE28D441903D56487861CD9D224E86E7@xxxxxxxxxxxxxxxxxxxxxx>	 <20071022123128.2db6000c@news01>	 <DD74FBB8EE28D441903D56487861CD9D224E8A05@xxxxxxxxxxxxxxxxxxxxxx>	 <20071023101151.3757a369@news01>	 <DD74FBB8EE28D441903D56487861CD9D225F6432@xxxxxxxxxxxxxxxxxxxxxx>	 <200710231156.l9NBuQwA019246@xxxxxxxxxxxxxx>	 <DD74FBB8EE28D441903D56487861CD9D225F6859@xxxxxxxxxxxxxxxxxxxxxx>	 <20071023165708.41f29476@news01>	 <DD74FBB8EE28D441903D56487861CD9D22719439@xxxxxxxxxxxxxxxxxxxxxx>
 
- Sender: ethersoft@xxxxxxxxx
 
I'm very confused.  Running zsh built from the latest CVS sources,
here's what I see:
zsh -f
$ mount -p
Prefix              Type         Flags
/                   system       binmode
$ cd /c
$ ls -dF [dD]*
Documents and Settings/  dell/  dell.sdr*
$ cd d<TAB>
    completes to dell. This is correct so far.
$ setopt nocaseglob
$ ls -dF d*
Documents and Settings/  dell/  dell.sdr*
    Correct again.
$ cd d<TAB>
    again completes to dell.  Shouldn't this give me a choice between:
    dell and Documents\ and\ Settings ?
Similarly,
$ ls a*
AUTOEXEC.BAT
$ ls a<TAB>
    just beeps at me.
and finally,
$ autoload compinit
$ compinit
    has no effect, i.e.
$ ls a<TAB>
    still just beeps at me.
Before John started asking questions about case-insensitive
completion, I hadn't noticed this behavior because I have been using
this workaround:
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
but isn't setopt nocaseglob meant to obviate the need for that?
Regards,
  Vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author