PS1
PS1
😄 Written by Zak Zhu
参考
- QuintinX/PS1应用之——修改linux终端命令行各字体颜色(https://www.cnblogs.com/Q--T/p/5394993.html)
PS1
vim /etc/profile.d/PS1.sh
#!/bin/bash PS1="[\[\e[31;49m\]\u\[\e[0m\]@\[\e[36;49m\]\H\[\e[0m\] \[\e[33;49m\]\w\[\e[0m\] \t]\n\\$ "