Update documentation occurrences of filename .sh
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>
Peter van der Does committed
Dec 15, 2014 at 09:34 UTC
0e5ed7cca3c51c821c2bb0465617e75d994f432f
2 files changed
+3
-3
contrib/completion/git-completion.bash
+2
-2
@@ -17,9 +17,9 @@
17
#
18
# To use these routines:
19
#
20
-# 1) Copy this file to somewhere (e.g. ~/.git-completion.sh).
20
+# 1) Copy this file to somewhere (e.g. ~/.git-completion.bash).
21
# 2) Add the following line to your .bashrc/.zshrc:
22
-# source ~/.git-completion.sh
22
+# source ~/.git-completion.bash
23
# 3) Consider changing your PS1 to also show the current branch,
24
# see git-prompt.sh for details.
25
contrib/completion/git-completion.zsh
+1
-1
@@ -8,7 +8,7 @@
8
# If your script is on ~/.git-completion.sh instead, you can configure it on
9
# your ~/.zshrc:
10
#
11
-# zstyle ':completion:*:*:git:*' script ~/.git-completion.sh
11
+# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
12
#
13
# The recommended way to install this script is to copy to
14
# '~/.zsh/completion/_git', and then add the following to your ~/.zshrc file: