已测试通过,原文:http://blog.csdn.net/songjinshi/article/details/8945809 一.颜色高亮显示 针对terminal采用bash模式: 编辑 ~/.bash_profile, 加入以下代码: export CLICOLOR=1export LSCOLORS=gxfxaxdxcxegedabagacad 保存,然后重启terminal,搞定,恢复正常了. 详细讲解代码中的涵义: CLICOLOR: 前景色和背景色的字符串合并值LSCOLORS:…