终端目录颜色
2019-01-19 10:46 JohnRain 阅读(197) 评论(0) 编辑 收藏 举报修改方式
~/.bashrc
中加入以下两行
LS_COLORS='no=00:fi=00:di=01;93:ln=01;36;40:'
export LS_COLORS
颜色对照表
31 = red
32 = green
33 = orange
34 = blue
35 = purple
36 = cyan
37 = grey
40 = black background
41 = red background
42 = green background
43 = orange background
44 = blue background
45 = purple background
46 = cyan background
47 = grey background
90 = dark grey
91 = light red
92 = light green
93 = yellow
94 = light blue
95 = light purple
96 = turquoise
100 = dark grey background
101 = light red background
102 = light green background
103 = yellow background
104 = light blue background
105 = light purple background
106 = turquoise background