PS1设置

【PS1设置】PS1="\[\e[36; 1m\][\u@\[\e[32; 1m\]\H \[\e[31; 1m\]\w]# \[\e[0m\]"


PS1="\[[\e[1; 32m\]\u\[\e[m\]\[\e[1; 36m\]@\[\e[m\]\[\e[1; 35m\]\h\[\e[m\]:\w]\n\$ "
转载于:https://blog.51cto.com/caozhong/1705960

    推荐阅读