Update documentation occurrences of filename .sh
authorPeter van der Does <peter@avirtualhome.com>
Mon, 15 Dec 2014 14:34:28 +0000 (09:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Dec 2014 17:37:14 +0000 (09:37 -0800)
Documentation in the completion scripts for Bash and Zsh state the wrong filenames.

Signed-off-by: Peter van der Does <peter@avirtualhome.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
contrib/completion/git-completion.zsh
index bc0657a22481d4482253bc1f151645d07d10f319..865f31b66f932fa4356b6d004e85ee2eaa539afc 100644 (file)
@@ -17,9 +17,9 @@
 #
 # To use these routines:
 #
-#    1) Copy this file to somewhere (e.g. ~/.git-completion.sh).
+#    1) Copy this file to somewhere (e.g. ~/.git-completion.bash).
 #    2) Add the following line to your .bashrc/.zshrc:
-#        source ~/.git-completion.sh
+#        source ~/.git-completion.bash
 #    3) Consider changing your PS1 to also show the current branch,
 #       see git-prompt.sh for details.
 
index 45775021fff11011a98b90a6b8ebaa72d3d0cd9f..1245bf4867231ccf37f23c8c15fadfc952642cc1 100644 (file)
@@ -8,7 +8,7 @@
 # If your script is on ~/.git-completion.sh instead, you can configure it on
 # your ~/.zshrc:
 #
-#  zstyle ':completion:*:*:git:*' script ~/.git-completion.sh
+#  zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
 #
 # The recommended way to install this script is to copy to
 # '~/.zsh/completion/_git', and then add the following to your ~/.zshrc file: