On Mon, Feb 10, 2020 at 07:42:11PM +0100, Johannes Kastl wrote: > Hi Matthew, > > thanks for the feedback. > > On 2020-02-10 19:10 Matthew Martin wrote: > > On Mon, Feb 10, 2020 at 04:56:54PM +0100, Johannes Kastl wrote: > >> Hi all, > >> > >> I was wondering why the git port/package was missing the git-prompt.sh > >> and the completion files for bash, tcsh and zsh. > > > > Please do not install the zsh completion file. zsh includes a better > > completer by default. The one in git's tree seems to be a shim to let > > zsh use the bash completer which isn't as detailed. > > The files are only put there, if someone wants to use them. But AFAIK > this has to be done manually, as this place it not search for > completions automatically. But please correct me if I am wrong.
That's correct; however, in general zsh completers ought to be installed to share/zsh/site-functions/ so that they are automatically picked up. In this case since the 3rd party completer is not as good as the one provided by zsh, it would be a net negative to install it to the correct place. I don't see any value in installing the zsh completer as it is unlikely to ever be used.