一款不错的Linux终端颜色设置

PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[36;40m\]\w\[\e[0m\]]\\$ "
#步骤#

vi .bash_profile
末尾追加配置
:wq 保存退出
source .bash_profile

#效果如下#

 

 
posted @ 2019-03-28 10:21  lishidefengchen  阅读(1008)  评论(0)    收藏  举报