My home and work computers are both running Mountain Lion w/ latest update.
However, on my work computer, I couldn't get ansi output by default when using laravel
or symfony-console
component. I need to use --ansi
switch to get the colors. I'm using Solarized Dark color scheme.
In home computer, I don't need to set --ansi
switch.
So, how can I set to detect terminal ansi by default ?
NOTE: I did try to add CLICOLOR=1
in .bash_profile
file. It doesn't work.
Same with you, after check the Symfony\Component\Console\Output\StreamOutput
. I install the php posix extension via sudo yum --enablerepo=remi install php-posix
then the ansi color is enabled default!
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