Skip to content

Commit 2c7cdc5

Browse files
felipecgitster
authored andcommitted
completion: zsh: fix bash script extension
Commit 0e5ed7c 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>
1 parent 5eb25bc commit 2c7cdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# If your script is somewhere else, you can configure it on your ~/.zshrc:
1111
#
12-
# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
12+
# zstyle ':completion:*:*:git:*' script ~/.git-completion.bash
1313
#
1414
# The recommended way to install this script is to make a copy of it as a
1515
# file named '_git' inside any directory in your fpath.

0 commit comments

Comments
 (0)