centos 终端 字体颜色

默认情况下,没有颜色。

https://www.centos.org/docs/2/rhl-gsg-en-7.2/ls-color.html

git也默认没有颜色,破解如下:

git config --global color.ui true

  

https://git-scm.com/book/tr/v2/Customizing-Git-Git-Configuration#Colors-in-Git