Re: zsh completion broken for file completion
- From
Manlio Perillo <manlio.perillo@gmail.com>
- Date
- Apr 2, 2013, 12:47 UTC
- Message-ID
- <515AD352.9060105@gmail.com>
- In-Reply-To
- <CAMP44s3=pHAUHohgJxddVdXMRj-toWOEvKea-E02mEZPBLk25w@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il 01/04/2013 11:29, Felipe Contreras ha scritto:
Show 20 quoted lines
> > > On Thu, Feb 28, 2013 at 12:59 PM, Manlio Perillo > <manlio.perillo@gmail.com <mailto: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. >
I'm using fpath as documented.
However I tested the script again, and now seems to work correctly. It is possible that in the past I was using an incorrect configuration.
Thanks Manlio Perillo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlFa01IACgkQscQJ24LbaUQOmACghDC30GqXXPIExHOPl9HrrO1y BYgAn2QPAYvtsSAAiPpgMnmMRI3z0LE8 =kmm0 -----END PGP SIGNATURE-----