summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Belsky <public.belsky@gmail.com>2019-10-11 17:54:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-18 04:55:49 (GMT)
commit176f5adfdb01abeede867a305c427cf8b2f48c0e (patch)
tree583d7945378ad0fbb4a9e8cc3fec27972bdda44d
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff)
downloadgit-176f5adfdb01abeede867a305c427cf8b2f48c0e.zip
git-176f5adfdb01abeede867a305c427cf8b2f48c0e.tar.gz
git-176f5adfdb01abeede867a305c427cf8b2f48c0e.tar.bz2
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 <Johannes.Schindelin@gmx.de> Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Maxim Belsky <public.belsky@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 886bf95..eef4eff 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -11,8 +11,9 @@
#
# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
#
-# The recommended way to install this script is to copy to '~/.zsh/_git', and
-# then add the following to your ~/.zshrc file:
+# The recommended way to install this script is to make a copy of it in
+# ~/.zsh/ directory as ~/.zsh/git-completion.zsh and then add the following
+# to your ~/.zshrc file:
#
# fpath=(~/.zsh $fpath)