From: Maxim Belsky Date: Fri, 11 Oct 2019 17:54:28 +0000 (-0700) Subject: completion: clarify installation instruction for zsh X-Git-Tag: v2.24.0-rc1~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=176f5adfdb01abeede867a305c427cf8b2f48c0e;p=thirdparty%2Fgit.git 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 Helped-by: Junio C Hamano Signed-off-by: Maxim Belsky Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh index 886bf95d1f..eef4eff53d 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)