shell 颜色

删除  username/.Private后SHELL界面没有颜色了   相关配置在.bashrc里

vim .bashrc

添加

alias ls='ls --color=auto'

:wq

source .bashrc

 再次执行命令就可以了

  

 蓝色->目录;绿色->可执行文件;红色->压缩文件;浅蓝色->链接文件;灰色->其它文件。

猜你喜欢

转载自pnxio.iteye.com/blog/2185430
今日推荐