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.
I have the same problem. Using export GREP_OPTIONS='--color=auto
instead of export GREP_OPTIONS='--color=always'
could resolve this problem.
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 :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With