git-completion with bash alias
- From
- Carsten Mattner <carstenmattner@googlemail.com>
- Date
- May 18, 2012, 11:35 UTC
- Message-ID
- <CACY+Hvqd6L7gWgDBvjPmLPsfA2o1CVKuqkDZ_j7XYf=WjuwvKQ@mail.gmail.com>
Completion works when used as "git checkout foo" but fails with "bash: [: 1: unary operator expected" when trying to complete via a single character shell alias like "alias g=git" as in "g checkout foo".
git version 1.7.10.2.548.g9de9681