zsh-users
 help / color / mirror / code / Atom feed
From: Francisco Borges <francisco.borges@gmail.com>
To: zsh-users@zsh.org
Subject: Re: git case insensitive completion for file names?
Date: Thu, 3 Jul 2014 14:08:51 +0200	[thread overview]
Message-ID: <CAHwuDSBTmRjS5fRj-rq33=mOw4GogcUc2dSZU68d-g=JoaUoRg@mail.gmail.com> (raw)
In-Reply-To: <CAHwuDSCw61dcsbWUNH7vTaUbPAsNcuoq4=X8Vgcytb+kDLTT5g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

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@gmail.com> 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

      reply	other threads:[~2014-07-03 12:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 11:15 Francisco Borges
2014-07-03 12:08 ` Francisco Borges [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHwuDSBTmRjS5fRj-rq33=mOw4GogcUc2dSZU68d-g=JoaUoRg@mail.gmail.com' \
    --to=francisco.borges@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).