原文链接:https://www.jianshu.com/p/4239d3ea72fe cd ls -la vim .bashrc 在.bashrc中加入这一行: PS1="\[\e[37;40m\][\[\e[36;40m\]\u@\h \[\e[36;40m\]\w\[\e[0m\]]\\$ " 退出.bashrc文件 然后执行 source .bashrc…
1.在mac命令行终端输入: ls -al 查看所有隐藏文件,找到.bash_profile vi .bash_profile 编辑文件,贴入以下内容并保存 source .bash_profile 刷新文件即时生效 Iterm字体设置#enables colorin the terminal bash shell exportexport CLICOLOR=1 #sets up thecolor scheme for list exportexport LSCOLORS=gxfxcxd…