vi ~/.bashrc
找到alias ls="xxxxxxxxxxxxxxxxxxxxxxxx"这一项,把注释去掉
修改后的这一行为:
alias ls='ls -hF --color=tty'
保存退出,运行命令:
source ~/.bashrc
之后就可以显示文件夹的颜色了
Powered by: 博客园 Copyright © 2024 天地玄黄 Powered by .NET 8.0 on Kubernetes