Mac|Mac 文件夹高亮
颜色高亮:
编辑 ~/.bash_profile, 加入以下代码:
export CLICOLOR=1
export LSCOLORS=gxfxaxdxcxegedabagacad
【Mac|Mac 文件夹高亮】CLICOLOR: 前景色和背景色的字符串合并值
LSCOLORS: 对于不同变量所采用的颜色方案,具体看如下表格:
a black
b red
c green
d brown
e blue
f magenta
g cyan
h light grey
A bold black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey;
looks like bright white
x default foreground or background
而文件类型列表如下:
- directory
- symbolic link
- socket
- pipe
- executable
- block special
- character special
- executable with setuid bit set
- executable with setgid bit set
- directory writable to others, with sticky bit
- directory writable to others, without sticky
所以对照这张表就可以得知:
推荐阅读
- Mac安装Chromedriver
- MAC安装Mongo
- 如何在Mac中的文件选择框中打开系统隐藏文件夹
- 【Hadoop踩雷】Mac下安装Hadoop3以及Java版本问题
- ssh生成公钥秘钥
- 机器学习|机器学习 Andrew Ng《Machine Learning》课程笔记1
- PHP开发-Mac搭建ThinkPHP5.0
- MagicaVoxel-0.99.6-macos-10.7|MagicaVoxel-0.99.6-macos-10.7 网盘下载
- mac|mac 链接linux服务器 如何在Mac上连接服务器
- 最新Mac系统安装fastlane|最新Mac系统安装fastlane /usr/bin 权限问题