Skip to content

Instantly share code, notes, and snippets.

@paoloumali
Created August 15, 2014 03:53
Show Gist options
  • Save paoloumali/0e5640634591a96843c0 to your computer and use it in GitHub Desktop.
Save paoloumali/0e5640634591a96843c0 to your computer and use it in GitHub Desktop.
fix phpunit git bash colors
Just like what they said, this worked for me.
Go to .bashrc in your ~/ directory and add
alias phpunitc="phpunit "$@" 2>&1 | perl -pe 's/(?<=\e[)2;//g'"
Then I just use phpunitc in git bash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment