aboutsummaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorPeter van der Does <peter@avirtualhome.com>2014-12-15 09:34:28 -0500
committerJunio C Hamano <gitster@pobox.com>2014-12-15 09:37:14 -0800
commit0e5ed7cca3c51c821c2bb0465617e75d994f432f (patch)
tree1f5fe6db55699f16ed53f1f568f89f0a3d8aff27 /contrib/completion
parentc9407860f47ec4cf1c64a2c2ca4ae0b451469658 (diff)
downloadgit-0e5ed7cca3c51c821c2bb0465617e75d994f432f.tar.gz
git-0e5ed7cca3c51c821c2bb0465617e75d994f432f.tar.xz
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>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash4
-rw-r--r--contrib/completion/git-completion.zsh2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index bc0657a22..865f31b66 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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.
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 45775021f..1245bf486 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -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: