How to Enabled terminal's color
To check current terminal's color use this command:
tput colors</code>
If say 8 then we need change /etc/bashrc and add on top
if ["$TERM" == "xterm" ]; then
export TERM=xterm-256color
fi
</code>
Reboot and enjoy!
Written by Stefano Pulze
Related protips
1 Response
I you want to apply this option not a global level but on a user level you can put the line in ~/.bashrc
. After adding you can reload your configuration with . ~/.bashrc
.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Color
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#