Skip to content

doc: Add a note about ~/.zsh/_git file

Max Belsky via GitGitGadget git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 1 replyIn review
  2. v21 patch 4 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1doc: Change zsh git completion file namecontrib/completion/git-completion.zsh+3 -21 reply

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchJohannes SchindelinJunio C HamanoSZEDER Gábor
SeriesHelped-by Helped-by
1/1Helped-by Helped-by Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/1] doc: Add a note about ~/.zsh/_git file

Hey,

Today I've spent a few hours to understand why git-completion doesn't work in my zsh shell. It was because I thought ~/.zsh/_git should be a dictionary with git-completion.zsh file.

I think this change may save some hours for someone else.

Maxim Belsky (1):
doc: Change zsh git completion file name

 contrib/completion/git-completion.zsh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

base-commit: 108b97dc372828f0e72e56bbb40cae8e1e83ece6
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-367%2Fmbelsky%2Fpatch-1-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-367/mbelsky/patch-1-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/367

Range-diff vs v2:

1: 3f994f3b9a ! 1: 7919addea8 doc: Change zsh git completion file name
@@ -8,9 +8,10 @@

There is a small update to clarify it.

- Signed-off-by: Maxim Belsky <[email protected]>

+ Helped-by: SZEDER Gábor <[email protected]>
+ Signed-off-by: Maxim Belsky <[email protected]>

diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh --- a/contrib/completion/git-completion.zsh
@@ -22,8 +23,8 @@
-# The recommended way to install this script is to copy to '~/.zsh/_git', and -# then add the following to your ~/.zshrc file:
+# The recommended way to install this script is to make a copy of it in
-+# ~/.zsh/ directory as ~/.zsh/git-completion.zsh and then add the following -+# to your ~/.zshrc file:
++# '~/.zsh/' directory as '~/.zsh/_git' and then add the following to your ++# ~/.zshrc file:
#
# fpath=(~/.zsh $fpath)

Signature · 1 line
gitgitgadget