threads / patch / 38178

patchUpdate documentation occurrences of filename .sh

Subject: [PATCH] Update documentation occurrences of filename .sh

## tl;dr

2 messages between Dec 15, 2014 and Dec 17, 2014. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Peter van der Does· Dec 15, 2014, 14:34 UTC · lore
Documentation in the completion scripts for Bash and Zsh state the wrong filenames.
Signed-off-by: Peter van der Does <peter@avirtualhome.com>
---
 contrib/completion/git-completion.bash | 4 ++--
 contrib/completion/git-completion.zsh  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Show changes to 2 files +3 −3

contrib/completion/git-completion.bash, contrib/completion/git-completion.zsh

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 2fece98..41608ad 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 9f6f0fa..e255413 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:
-- 
2.2.0
Jonathan Nieder· Dec 17, 2014, 00:42 UTC · re: Peter van der Does · lore

Re: [PATCH] Update documentation occurrences of filename .sh

Peter van der Does wrote:
Show 7 quoted lines
> Documentation in the completion scripts for Bash and Zsh state the wrong filenames.
>
> Signed-off-by: Peter van der Does <peter@avirtualhome.com>
> ---
>  contrib/completion/git-completion.bash | 4 ++--
>  contrib/completion/git-completion.zsh  | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks.

← back to recent threads