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

Re: UI and git-completion.sh

From
Brian Downing <bdowning@lavos.net>
Date
Oct 24, 2007, 00:55 UTC
Message-ID
<20071024005549.GC24924@lavos.net>
In-Reply-To
<86d4v59wvt.fsf@blue.stonehenge.com>
On Tue, Oct 23, 2007 at 05:31:02PM -0700, Randal L. Schwartz wrote:
> Yes, so what is the process of adding the git zsh completion to any
> relatively stable version of zsh?  Someone here must know.

I dunno the "right" way to do it, but I had this in my .zshrc file that I presumably cargo-culted from somewhere:

    fpath=( $HOME/.zsh/compfuncs $fpath )
So in addition to that, doing:
    wget -O ~/.zsh/compfuncs/_git 'http://zsh.cvs.sourceforge.net/*checkout*/zsh/zsh/Completion/Unix/Command/_git'

might get you something. I guess if your zsh is too old it might be incompatible with the completion script, though...

-bcd
Previous: Randal L. SchwartzNext: Brian Downing
Message 12 of 13 in “UI and git-completion.sh”
  1. Paolo CiarrocchiOct 23, 2007
  2. Steven GrimmOct 23, 2007
  3. Randal L. SchwartzOct 23, 2007
  4. Matthieu MoyOct 23, 2007
  5. Randal L. SchwartzOct 24, 2007
  6. Matthieu MoyOct 24, 2007
  7. Randal L. SchwartzOct 24, 2007
  8. Johannes GilgerOct 24, 2007
  9. Johannes SchindelinOct 24, 2007
  10. Pierre HabouzitOct 24, 2007
  11. Randal L. SchwartzOct 24, 2007
  12. Brian DowningOct 24, 2007
  13. Brian DowningOct 24, 2007

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.