Skip to content

Commit e82f629

Browse files
committed
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
2 parents abac75c + 0e5ed7c commit e82f629

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/completion/git-completion.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#
1717
# To use these routines:
1818
#
19-
# 1) Copy this file to somewhere (e.g. ~/.git-completion.sh).
19+
# 1) Copy this file to somewhere (e.g. ~/.git-completion.bash).
2020
# 2) Add the following line to your .bashrc/.zshrc:
21-
# source ~/.git-completion.sh
21+
# source ~/.git-completion.bash
2222
# 3) Consider changing your PS1 to also show the current branch,
2323
# see git-prompt.sh for details.
2424
#

contrib/completion/git-completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# If your script is somewhere else, you can configure it on your ~/.zshrc:
1111
#
12-
# zstyle ':completion:*:*:git:*' script ~/.git-completion.sh
12+
# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
1313
#
1414
# The recommended way to install this script is to copy to '~/.zsh/_git', and
1515
# then add the following to your ~/.zshrc file:

0 commit comments

Comments
 (0)