summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-07 13:06:36 -0800
committerJunio C Hamano <gitster@pobox.com>2015-01-07 13:06:37 -0800
commite82f629cf40795e7780329f056fc3df2d6adc97b (patch)
treeb013c9dbd2354a8ad33e116c4519a8624c2e41d5 /contrib
parentabac75c207be5ad062d6fe8ff9938ddf8e405c83 (diff)
parent0e5ed7cca3c51c821c2bb0465617e75d994f432f (diff)
downloadgit-e82f629cf40795e7780329f056fc3df2d6adc97b.tar.gz
Merge branch 'pd/completion-filenames-fix'
The top-of-the-file instruction for completion scripts (in contrib/) did not name the files correctly. * pd/completion-filenames-fix: Update documentation occurrences of filename .sh
Diffstat (limited to 'contrib')
-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 23988ec124..cd765795ae 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -16,9 +16,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 9f6f0fa558..e25541308a 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -9,7 +9,7 @@
#
# If your script is somewhere else, 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/_git', and
# then add the following to your ~/.zshrc file: