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

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

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Aug 16, 2019, 02:36 UTC
Message-ID
<20190816023649.GB365197@genre.crustytoothpaste.net>
In-Reply-To
<20190815185901.btf4d7c4ewsccxuu@localhost.localdomain>
On 2019-08-15 at 19:50:27, Pratyush Yadav wrote:
Show 7 quoted lines
> 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?

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Pratyush YadavNext: Pratyush Yadav
Message 2 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.