Reputation: 88945
Following these excellent instructions for enabling Git bash autocompletion in OSX:
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bash_profile
I get the following output when I type "git TabTab" at the command line:
Following multiple different tutorials produces the same result. Either I don't know the right search terms or there is just very little documented about this issue...
Anyone encountered similar issues implementing git autocompletion for OSX? Running Lion if that's important.
Upvotes: 6
Views: 485
Reputation: 123
I have the same problem. Using export GREP_OPTIONS='--color=auto
instead of export GREP_OPTIONS='--color=always'
could resolve this problem.
Upvotes: 4
Reputation: 88945
Turns out this is a simple fix. I simply removed the following line from my ~/.bashrc file (as per this post):
export GREP_OPTIONS='--color=always'
...and now it works like a charm :)
Upvotes: 2