I'm managing a server with CentOS 6.5 x64 installed.
In my Ubuntu server, when I run composer
or Laravel's artisan
php cli command, parameters are colorful.
But this doesn't happen when I SSH into a CentOS server and run composer
again.
As you can see, the directories are colored as it should, but php-cli
apps are not (Laravel's artisan command has same issue, too).
(This issue also occurs nano
editor if that would help.)
Is there a way to "colorize" such commands in CentOS?
Thanks in advance,
root
user isn't setup for color in.bashrc
or other files. If you runcomposer
as a different user on your CentOS server, doescomposer
ornano
give colorized output as you expect? There are other things to check if the syntax coloring innano
isn't working.echo $TERM
both on your ubuntu machine and your server and add the results to your question?yum list php-process
oryum provides php-posix