Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: choice of case in tab completions
- X-seq: zsh-users 10223
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx (Zsh users list)
- Subject: Re: choice of case in tab completions
- Date: Sat, 06 May 2006 13:31:16 +0100
- In-reply-to: Your message of "Fri, 05 May 2006 22:07:00 EDT." <20060506020659.GA5367@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Anthony Heading wrote:
> I don't know if this is behind the times, but I
> have a line:
> compctl -M 'm:{a-z}={A-Z} m:{A-Z}={a-z}'
> in zshrc to induce case insensitive completion.
>
> It works very well with one exception, where e.g. I
> might have three files with the names
> include
> INSTALL
> InstallBin.dsp
>
> (this example in fact comes from the Apache httpd root dir)
>
> When I want to read the INSTALL file, I type:
>
> % more ins<TAB>
>
> which sadly completes to:
>
> % more Install
Surely this is because the match is ambiguous? It doesn't know whether
you want INSTALL or Install.bin and has to pick the characters from one
or other. You will need some other feature of zsh, such as
menucompletion, to fix that. With my settings (with menucompletion) it
shows me InsTALL which is a sign it hasn't resolved what it's completing
yet. (I was trying this with the new completion system, however.)
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author