Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git case insensitive completion for file names?
- X-seq: zsh-users 18920
- From: Francisco Borges <francisco.borges@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: git case insensitive completion for file names?
- Date: Thu, 3 Jul 2014 14:08:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=aZys8KSzpMzSh/hRj7nGuwlMCsZim6m0zrq/7LXnEbo=; b=b9oNgnMAcxzkYa2J/+wsbbniLG437Ff/Z0B/60xtrZTk8jmGsTEEGyk7G7P9iWDOXW Gtj3n/sT1JBoDkTBR4gx2K7sSeuKFfUAzWWfgwpfAIQOujb85epksRGc6mWw7oIP/TMW CtX1YFunQROQ0HCnh4sEyJmdHq6rIa5A9kbcFAiqoiVcS1zW4P+MaTFCtO/Gq9rBRbFs UJaBlGmqKVqIz2O8pA3Jvf+LBvjL6EbBQM3nvlKAth/EoCbnTW4p6foMRDb4AiQdavJ8 0V5d2wB5yIIYUUH4mcwU8hXRyu0m5u3CL65FFbjO6d4r1jo5DXaHoxxt8JAia48qfc77 mtpQ==
- In-reply-to: <CAHwuDSCw61dcsbWUNH7vTaUbPAsNcuoq4=X8Vgcytb+kDLTT5g@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAHwuDSCw61dcsbWUNH7vTaUbPAsNcuoq4=X8Vgcytb+kDLTT5g@mail.gmail.com>
Ok,
I had found out some things about the shell code then went to produce a
patch against the latest _git. Guess what? At the latest _git taken from
the git repository completion for git-add is case insensitive. At the
version I have from 5.0.5 stuff like git-diff is case insensitive but
git-add is not.
On Thu, Jun 19, 2014 at 1:15 PM, Francisco Borges <
francisco.borges@xxxxxxxxx> wrote:
> Hi,
>
> I have zsh set to do case insensitive completion when working with files.
> However, it does not work with Git.
>
> Any ideas? Using Zsh 5.0.5:
>
> % zsh -f
> % autoload -U compinit && compinit
> % zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
> % setopt nocasematch
> % touch Foo
> % ls fo[TAB]
> % ls Foo # completes to foo
> Foo
> % git add fo[TAB] # does not complete
>
>
> Kind regards,
> --
> Francisco
>
--
Francisco
Messages sorted by:
Reverse Date,
Date,
Thread,
Author