vi ~/.bashrc
找到alias ls="xxxxxxxxxxxxxxxxxxxxxxxx"这一项,把注释去掉
修改后的这一行为:
alias ls='ls -hF --color=tty'
保存退出,运行命令:
source ~/.bashrc
之后就可以显示文件夹的颜色了
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3