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

Re: completion: checkout.* not being completed in zsh

From
Pratyush Yadav <me@yadavpratyush.com>
Date
Aug 17, 2019, 14:00 UTC
Message-ID
<20190817140009.4kelg4yiybb4xphn@localhost.localdomain>
In-Reply-To
<20190816023649.GB365197@genre.crustytoothpaste.net>
On 16/08/19 02:36AM, brian m. carlson wrote:
Show 13 quoted lines
> On 2019-08-15 at 19:50:27, Pratyush Yadav wrote:
> > I tried looking at contrib/completion, and I can see that zsh completion
> > works on top of bash completion, so I don't know why exactly it works
> > for bash but not for zsh.
> > 
> > I am not too familiar with how these auto completion scripts work, so if
> > someone can point me in the right direction, I'll see if I can figure
> > out a fix and submit it here.
> 
> zsh uses its own completion system which is substantially different from
> the bash one and includes definitions for most programs shipped with it.
> Are you sure you're using the Git-shipped completions and not the ones
> shipped with zsh?

Yes, you are correct. I was using the zsh shipped completion. Using the git shipped completion fixes this. Thanks.

-- 
Regards,
Pratyush Yadav
Previous: brian m. carlson
Message 3 of 3 in “completion: checkout.* not being completed in zsh”
  1. Pratyush YadavAug 15, 2019
  2. brian m. carlsonAug 16, 2019
  3. Pratyush YadavAug 17, 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.