修改.bashrc

PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[35;40m\]\W\[\e [\]]\\$ \[\e[33;40m\]"

PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[35;40m\]\W\[\e [\]]\\$ \[\e[37;40m\]"

最后更新: 2018年10月22日 16:54

原始链接: http://cwiwi.com/2018/10/22/bash-config-terminal-bg-color/