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

git-completion.bash error

From
GGabriel <gabriel.so@gmail.com>
Date
Oct 27, 2013, 20:59 UTC
Message-ID
<CAGvuA0iGrF5jrUSCjT7-SR85i2OhBwQHfjj4+krAFfz5wnxx8w@mail.gmail.com>
Hi.
First of all, thank you and congratulations for the awesome work :)

I've just made a clean install of OS X Mavericks and installed Git via Homebrew, which obviously includes the contrib files.

I sourced the git-completion.bash into my profile and I get stuck on a error every time I try to use the autocomplete. The error outputted is:

egrep: ^ [a-zA-Z0-9]: No such file or directory

I believe this is related to this line (this commands outputs the same error when entered directly): https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L614

I don't know if this issue is directly related to OS X Mavericks or anything else.

Thanks.
Next: Eric Sunshine
Message 1 of 3 in “git-completion.bash error”
  1. GabrielOct 27, 2013
  2. Eric SunshineOct 27, 2013
  3. Eric SunshineOct 28, 2013

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.