diff --git a/xterm/rc/.bashrc b/xterm/rc/.bashrc index 40dc9fefc..3cbb131ac 100644 --- a/xterm/rc/.bashrc +++ b/xterm/rc/.bashrc @@ -26,7 +26,11 @@ if [ -x /usr/bin/dircolors ]; then fi # custom PS1 -PS1='\[\033[1;35m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h:\[\033[1;37m\]\w\[\033[1;37m\]\$\[\033[0m\] ' +if [ "$(id -u)" -eq 0 ]; then + PS1='\[\033[1m\033[38;5;196m\]\u\[\033[1;39m\]@\[\033[38;5;82m\]\h:\[\033[38;5;213m\]\w\[\033[1;37m\]\$\[\033[0m\] ' +else + PS1='\[\033[1m\033[38;5;208m\]\u\[\033[1;39m\]@\[\033[38;5;82m\]\h:\[\033[38;5;213m\]\w\[\033[1;37m\]\$\[\033[0m\] ' +fi # user default run time config if [ -f ~/.bashrc ]; then