git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 1/1] doc: Change zsh git completion file name

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 16, 2019, 02:06 UTC
Message-ID
<xmqqlftla1gv.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<7919addea85597c3c910a09cbc1d931c6f71c544.1571165293.git.gitgitgadget@gmail.com>
"Maxim Belsky via GitGitGadget" <gitgitgadget@gmail.com> writes:
> From: Maxim Belsky <public.belsky@gmail.com>
> Subject: Re: [PATCH v3 1/1] doc: Change zsh git completion file name

Lack of attention to the detail. This is not about changing the filename anymore.

    Subject: [PATCH v3] completion: clarify installation instruction for zsh

perhaps. I'll make the change locally, so unless there are other changes you want to make, there is no need to resend.

Thanks.
Show 29 quoted lines
> The original comment does not describe type of ~/.zsh/_git explicitly
> and zsh does not warn or fail if a user create it as a dictionary.
> So unexperienced users could be misled by the original comment.
>
> There is a small update to clarify it.
>
> Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
> Helped-by: Junio C Hamano <gitster@pobox.com>
> Helped-by: SZEDER Gábor <szeder.dev@gmail.com>
> Signed-off-by: Maxim Belsky <public.belsky@gmail.com>
> ---
>  contrib/completion/git-completion.zsh | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
> index 886bf95d1f..b480e3f316 100644
> --- a/contrib/completion/git-completion.zsh
> +++ b/contrib/completion/git-completion.zsh
> @@ -11,8 +11,9 @@
>  #
>  #  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:
> +# The recommended way to install this script is to make a copy of it in
> +# '~/.zsh/' directory as '~/.zsh/_git' and then add the following to your
> +# ~/.zshrc file:
>  #
>  #  fpath=(~/.zsh $fpath)
Previous: Maxim Belsky via GitGitGadget
Message 13 of 13 in “doc: Add a note about ~/.zsh/_git file”
  1. 0/1 doc: Add a note about ~/.zsh/_git fileMax Belsky via GitGitGadget, Oct 10, 2019
  2. 1/1 doc: Change zsh git completion file nameMaxim Belsky via GitGitGadget, Oct 10, 2019
  3. Johannes SchindelinOct 10, 2019
  4. Junio C HamanoOct 11, 2019
  5. 0/1 doc: Add a note about ~/.zsh/_git fileMax Belsky via GitGitGadget, Oct 11, 2019
  6. 1/1 doc: Change zsh git completion file nameMaxim Belsky via GitGitGadget, Oct 11, 2019
  7. Junio C HamanoOct 12, 2019
  8. SZEDER GáborOct 14, 2019
  9. Junio C HamanoOct 15, 2019
  10. Felipe ContrerasOct 25, 2020
  11. 0/1 doc: Add a note about ~/.zsh/_git fileMax Belsky via GitGitGadget, Oct 15, 2019
  12. 1/1 doc: Change zsh git completion file nameMaxim Belsky via GitGitGadget, Oct 15, 2019
  13. Junio C HamanoOct 16, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.