PS1 modify the format and color

'\n\[\e[37;1m[\]\[\e[31;1m\]\u\[\e[39;1m\]@\[\e[33;1m\]\H \[\e[34;1m\]\w\[\e[37;1m\]]\n\[\e[32;1m\]\$ \[\e[0m\]'

Guess you like

Origin blog.51cto.com/sgk2011/2431323