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

Re: Re: Re: Remove your ZSH completion in favor of the completion script distributed and maintained by ZSH

From
DBDoron Behar <doron.behar@gmail.com>
Date
Jul 7, 2024, 18:17 UTC
Message-ID
<peuc54wlxnhga5vy7rdnx4roudtngoztpodhs3f7ggbjfyzjdh@lgocxezv5tlv>
In-Reply-To
<ZoqtHrKcdliM4Uf9@tapette.crustytoothpaste.net>
Show 9 quoted lines
> > I personally think that Git is a stable enough project that the
> > commands and options don't deviate enough between the different
> > versions of it, So it'd be easier for you and for the distributions
> > if you'd let go of your implementation.
> 
> I don't think it's super necessary to get rid of either one.  The Git
> functionality is primarily based around bash, which does need this
> functionality.  zsh doesn't, but it can be used there if you want things
> to work exactly as it does in bash and want to have the latest version.

Indeed it would have been ideal if it was possible to use a `zstyle` variable to control which _git implementation to use. However, that's not trivial, as it somewhat depends on which _git implementation is found first in `$fpath`... I'm pretty sure that creating such a consistent interface (no matter which `_git` is found first) will require submitting a patch also to the ZSH implementation.

Previous: brian m. carlsonNext: rsbecker@nexbridge.com
Message 5 of 6 in “Remove your ZSH completion in favor of the completion script distributed and maintained by ZSH”
  1. Doron BeharJul 7, 2024
  2. Andreas SchwabJul 7, 2024
  3. Doron BeharJul 7, 2024
  4. brian m. carlsonJul 7, 2024
  5. Doron BeharJul 7, 2024
  6. rsbecker@nexbridge.comJul 7, 2024

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.