]> git.ipfire.org Git - thirdparty/git.git/commit
completion: zsh: fix bash script extension
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 25 Oct 2020 03:13:17 +0000 (22:13 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2020 22:23:26 +0000 (15:23 -0700)
commit2c7cdc55738257f050e2b83aa94766f50ed60e15
treec3f180bdc2b3ddde0ad50373a879b8b90ebd0e44
parent5eb25bcf0f89a40627b8c23af408af1892705372
completion: zsh: fix bash script extension

Commit 0e5ed7cca3 wrongly changed the extension of the bash script
to .zsh; the zstyle configuration is for the slave script (bash), not
the master one (zsh).

For example it could be:

  zstyle ':completion:*:*:git:*' script ~/.git-completion.bash

The extension doesn't really matter, but it confuses people into
thinking it's a zsh script; it's not.

Cc: Peter van der Does <peter@avirtualhome.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.zsh