Skip to content

Commit 176f5ad

Browse files
mbelskygitster
authored andcommitted
completion: clarify installation instruction for zsh
The original comment does not describe type of ~/.zsh/_git explicitly and zsh does not warn or fail if a user create it as a dictionary. So unexperienced users could be misled by the original comment. There is a small update to clarify it. Helped-by: Johannes Schindelin <[email protected]> Helped-by: Junio C Hamano <[email protected]> Signed-off-by: Maxim Belsky <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5fa0f52 commit 176f5ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/completion/git-completion.zsh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
#
1212
# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
1313
#
14-
# The recommended way to install this script is to copy to '~/.zsh/_git', and
15-
# then add the following to your ~/.zshrc file:
14+
# The recommended way to install this script is to make a copy of it in
15+
# ~/.zsh/ directory as ~/.zsh/git-completion.zsh and then add the following
16+
# to your ~/.zshrc file:
1617
#
1718
# fpath=(~/.zsh $fpath)
1819

0 commit comments

Comments
 (0)