echo 'PS1 = "\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[36;40m\]\W\[\e[0m\]]\$"' >> ~/.bash_profile
source ~/.bash_profile
Linux改变终端用户名的颜色
最新推荐文章于 2024-02-23 16:02:24 发布
echo 'PS1 = "\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[36;40m\]\W\[\e[0m\]]\$"' >> ~/.bash_profile
source ~/.bash_profile