Skip to content

Commit

Permalink
Update documentation occurrences of filename .sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter van der Does authored and Junio C Hamano committed Dec 15, 2014
1 parent c940786 commit 0e5ed7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e5ed7c

Please sign in to comment.