1. 生成 .dircolors文件
-
cd ~/
-
dircolors -p > .dircolors
2. 修改.dircolors 文件,改变文件夹颜色,主要修改下面几个颜色
-
......
-
dir 04;34 # director.
-
......
-
sticky_other_writable 04;32 # dir that is sticky and other-writable ( t,o w)
-
other_writable 04;34 # dir that is other-writable (o w) and not sticky
3. 参考
样式:
00 //默认01 //加粗04 //下划线05 //闪烁07 //反显08 //隐藏文字颜色30 — black //黑色31 — red //红色32 — green //绿色33 — yellow //黄色34 — blue //蓝色35 — magenta //洋红色36 — cyan //蓝绿色37 — white //白色背景颜色40 — black41 — red42 — green43 — yellow44 — blue45 — magenta46 — cyan47 – white
阅读(6011) | 评论(0) | 转发(0) |