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
阅读(6148) | 评论(0) | 转发(0) |