Today I run ubuntu docker image on powershell and find the directory color is blue, so I want to change it.

Step 1:

set ubuntu proxy:

export http_proxy=http://xx:80 not http_proxy=xx:80 otherwise it will give error

export https_proxy=https://xx:80

Step 2:

change color

method 1:

dircolors -p > .dircolors

vim .dircolors

DIR 01;34 -> DIR 01;35

save and exit

then . .bashrc

method 2:

export LS_COLORS=$LS_COLORS:'di=0;97:'

样式参数参考:

这里的01表示高亮度显示,34表示蓝色,35表示洋红色
00 — Normal (no color, no bold)
01 — Bold //粗体
文字颜色
30 — Black //黑色
31 — Red //红色
32 — Green //绿色
33 — Yellow //黄色
34 — Blue //蓝色
35 — Magenta //洋红色
36 — Cyan //蓝绿色
37 — White //白色

背景颜色

40 — Black
41 — Red
42 — Green
43 — Yellow
44 — Blue
45 — Magenta
46 — Cyan
47 – White

默认颜色所代表的的文件类型说明:

白色:    表示普通文件
蓝色: 表示目录
绿色: 表示可执行文件
红色: 表示压缩文件
蓝绿色: 链接文件
红色闪烁:表示链接的文件有问题
黄色: 表示设备文件
灰色: 表示其他文件
Another config for vim:
vim .vimrc

syntax on
colorscheme koehler
set ts=4

 

最新文章

  1. 让Chrome 接管邮件连接,收发邮件更方便了
  2. 20161106PM-接口
  3. JDBC总结(含DbUtils组件)
  4. delphi数据类型及占用的字节数 C++ 对应数据类型
  5. Codeforces Round #210 (Div. 2) A. Levko and Table
  6. spring aop配置文档部分翻译
  7. Memcached的安装(Linux)、操作、命令
  8. Asp.net基础知识
  9. JF厂V8版本爱彼AP15703,黄家橡树离岸型,超越N厂神器
  10. BZOJ_1895_Pku3580 supermemo_Splay
  11. Security+认证812分轻松考过(备战分享)
  12. Spring MVC工作流程
  13. PyTorch in Action: A Step by Step Tutorial
  14. router-link 绑定事件的方式
  15. [转] Webpack 打包优化之体积篇
  16. matplotlib-2D绘图库
  17. Springboot中实现策略模式+工厂模式
  18. linux操作系统及命令Part 1
  19. 使用Keepalived实现linux高可用集群
  20. JS 实现四舍五入保留两位小数并且添加千位分隔符

热门文章

  1. js实现复制文本内容到剪切板
  2. ubuntu server 16.04 开启root密码登录
  3. Android 字体适配方案
  4. Android设计模式总结
  5. Python使用Plotly绘图工具,绘制甘特图
  6. Jmeter接口测试实战-数据传递
  7. Docker 创建 Bamboo6.7.1 以及与 Crowd3.3.2 实现 SSO 单点登录
  8. C#基础知识之IOC
  9. Hexo server报错TypeError: Cannot read property 'utcOffset' of null解决方法
  10. Web后台快速开发框架