# error running git-completion.bash on snow leo

3 messages from 2010-09-18 to 2010-09-18. Participants: Wes James, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/25136

## Wes James, 2010-09-18 02:29

Subject: error running git-completion.bash on snow leo
Message-ID: <AANLkTi=VtE9OPKx0+HobC7hcOjeNNMXBG2aQ8vj1FwR1@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3DVtE9OPKx0%2BHobC7hcOjeNNMXBG2aQ8vj1FwR1%40mail.gmail.com

```
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 ')'

anyone know why?

latest os x snow leopard.

-wes

```

## Wes James, 2010-09-18 02:55

Subject: Re: error running git-completion.bash on snow leo
Message-ID: <AANLkTimmWJ7ZM109GhmZiJJ9riv0LMcQ=vx+1f-uT+=_@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimmWJ7ZM109GhmZiJJ9riv0LMcQ%3Dvx%2B1f-uT%2B%3D_%40mail.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:
> 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

```

## Ævar Arnfjörð Bjarmason, 2010-09-18 07:28

Subject: Re: error running git-completion.bash on snow leo
Message-ID: <AANLkTi=7gNFV7Us8EoMccp9Kq1yKDErZMwWiyPSXpwQt@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3D7gNFV7Us8EoMccp9Kq1yKDErZMwWiyPSXpwQt%40mail.gmail.com
In-Reply-To: <AANLkTi=VtE9OPKx0+HobC7hcOjeNNMXBG2aQ8vj1FwR1@mail.gmail.com>

```
On Sat, Sep 18, 2010 at 02:29, Wes James <comptekki@gmail.com> wrote:
> -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 ')'
>
> anyone know why?

See http://permalink.gmane.org/gmane.comp.version-control.git/151723 and
https://bugs.archlinux.org/task/20288

```
