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

Re: [PATCH] Refactor git-completion to allow ZSH usage of PS1 functions

From
Marius Storm-Olsen <mstormo@gmail.com>
Date
Apr 26, 2011, 17:37 UTC
Message-ID
<4DB702E6.5090105@gmail.com>
In-Reply-To
<7v62q1exnj.fsf@alter.siamese.dyndns.org>
Junio C Hamano said the following on 26.04.2011 12:21:
> I'd be very negative on splitting this file into more than one files.
The only other option would be duplication. Is that preferred?

I was hoping to more easily keep the implementations in sync, given that the code is trivial enough for both shells to interpret. However, having two separate implementations would allow for more advanced options in the ZSH PSx handling, I guess.

-- 
.marius
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 11 in “Refactor git-completion to allow ZSH usage of PS1 functions”
  1. Refactor git-completion to allow ZSH usage of PS1 functionsMarius Storm-Olsen, Apr 26, 2011
  2. Junio C HamanoApr 26, 2011
  3. Marius Storm-OlsenApr 26, 2011
  4. Junio C HamanoApr 26, 2011
  5. Automatically autoload bashcompinit for ZSH, when neededMarius Storm-Olsen, Apr 26, 2011
  6. Matthieu MoyApr 26, 2011
  7. Marius Storm-OlsenApr 26, 2011
  8. Junio C HamanoApr 26, 2011
  9. Felipe ContrerasApr 27, 2011
  10. Felipe ContrerasApr 27, 2011
  11. Automatically autoload bashcompinit for ZSH, when neededMarius Storm-Olsen, Apr 27, 2011

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.