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

RE: Zsh submodule name completion borked

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 1, 2014, 22:35 UTC
Message-ID
<5362cc42ed06d_569a13852ecb@nysa.notmuch>
In-Reply-To
<CABURp0oS0qnyVhfV1rsaNXT-88QJvgpNn+meApNKRTGdULDXpA@mail.gmail.com>
Phil Hord wrote:
Show 13 quoted lines
> When I use zsh tab-completion to complete the submodule name in 'git
> submodule init', I get more than I expected.
> 
> From the gerrit repository (which has plugins):
>   $ git submodule init plugins/<TAB>
>   plugins/commit-message-length-validator\ \(v1.0-rc1-9-g545000b\)
>   plugins/reviewnotes\ \(v1.0-rc1-8-ge984300\)
>   plugins/replication\ \(v1.1-rc0-13-g4c3f4c9\)
> 
> It works ok in bash.  I tried to bisect the trouble, but it still
> fails in 1.8.3, so I'm beginning to think it's me.  Does this happen
> to anyone else?  Is it something in my local configuration causing
> this?

Define 'works' in bash. From what I can see from the bash completion, it's not doing anything special, so the completion you see are simply files.

-- 
Felipe Contreras
Previous: Jonathan NiederNext: Phil Hord
Message 3 of 4 in “Zsh submodule name completion borked”
  1. Phil HordMay 1, 2014
  2. Jonathan NiederMay 1, 2014
  3. Felipe ContrerasMay 1, 2014
  4. Phil HordMay 2, 2014

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.