git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Manlio Perillo <manlio.perillo@gmail.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>, git <git@vger.kernel.org>
Subject: Re: zsh completion broken for file completion
Date: Mon, 1 Apr 2013 03:30:45 -0600	[thread overview]
Message-ID: <CAMP44s2kqpusjweXN522oum9mw2vPg4==jGzd2c3CbHzU5E3=g@mail.gmail.com> (raw)
In-Reply-To: <512FA915.4080203@gmail.com>

On Thu, Feb 28, 2013 at 12:59 PM, Manlio Perillo
<manlio.perillo@gmail.com> wrote:
>
> [1] Basically, on my system I need the following change at the end of
>     the file:
>
>         -_git
>         +autoload -U +X compinit && compinit
>         +compdef _git git gitk
>
>     I don't know the reason, however; and it seems that it is a problem
>     only for me

Are you sourcing this script? If so, don't; do what is suggested at
the top: use fpath to load it automatically.

Cheers.

--
Felipe Contreras

  reply	other threads:[~2013-04-01  9:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 18:43 zsh completion broken for file completion Matthieu Moy
2013-02-28 18:59 ` Manlio Perillo
2013-04-01  9:30   ` Felipe Contreras [this message]
     [not found]   ` <CAMP44s3=pHAUHohgJxddVdXMRj-toWOEvKea-E02mEZPBLk25w@mail.gmail.com>
2013-04-02 12:47     ` Manlio Perillo
2013-03-05  8:43 ` [PATCH] git-completion.zsh: define __gitcomp_file compatibility function Matthieu Moy
2013-03-05 16:54   ` Junio C Hamano

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='CAMP44s2kqpusjweXN522oum9mw2vPg4==jGzd2c3CbHzU5E3=g@mail.gmail.com' \
    --to=felipe.contreras@gmail.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=manlio.perillo@gmail.com \
    /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.
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).