ndbroadbent/scm_breeze — Issue #11: -bash: [: 2: unary operator expected - OSX 10.7
Author: ghthor
Created: 2011-10-28 12:01:28+00:00
State: open

I get this when I attempt to use \ for completion.

```
$ gba
* master
remotes/ndbroadbent/master
remotes/origin/HEAD -> origin/master
remotes/origin/master
$ gf nd
```
If I stroke a \ to complete nd => ndbroadbent I get this output and it moves my cursor to the next line.

```
$ gf nd-bash: [: 2: unary operator expected
```
If I then press \ again

```
$ gf nd-bash: [: 2: unary operator expected
-bash: [: 2: unary operator expected

ndbroadbent origin
$ gf nd
```

```
$ uname -a
Darwin ****** 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64 i386
$ bash --version
GNU bash, version 4.2.10(2)-release (i386-apple-darwin11.2.0)
```

I don't notice this problem on ubuntu 10.04

```
$ uname -a
Linux ****** 2.6.35.4-****** #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 GNU/Linux
$ bash --version
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
```