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

Re: error running git-completion.bash on snow leo

From
Wes James <comptekki@gmail.com>
Date
Sep 18, 2010, 02:55 UTC
Message-ID
<AANLkTimmWJ7ZM109GhmZiJJ9riv0LMcQ=vx+1f-uT+=_@mail.gmail.com>
In-Reply-To
<AANLkTi=VtE9OPKx0+HobC7hcOjeNNMXBG2aQ8vj1FwR1@mail.gmail.com>
On Fri, Sep 17, 2010 at 8:29 PM, Wes James <comptekki@gmail.com> wrote:
Show 11 quoted lines
> When I
>
> source git-completion.bash
>
> I get:
>
> -bash: git-completion.bash: line 127: syntax error near unexpected token `done'
> -bash: git-completion.bash: line 127: ` done < <(git config -z
> --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null
> | tr '\0\n' '\n ')'
>

never mind. I renamed my .bashrc to .bashrc.orig and opened a new terminal window and sourced git-completion.bash and it completed with no error. I must have had something conflicting with the git-completion.bash file.

-wes
Previous: Wes JamesNext: Ævar Arnfjörð Bjarmason
Message 2 of 3 in “error running git-completion.bash on snow leo”
  1. Wes JamesSep 18, 2010
  2. Wes JamesSep 18, 2010
  3. Ævar Arnfjörð BjarmasonSep 18, 2010

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.