Răsfoiți Sursa

Add more color to PS1

Taddeus Kroes 8 luni în urmă
părinte
comite
f16fd0d411
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      bashrc

+ 1 - 1
bashrc

@@ -58,7 +58,7 @@ else
 fi
 
 if [ "$color_prompt" = yes ]; then
-    PS1="${debian_chroot:+($debian_chroot)}$USERCOLOR$USERNAME\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$INDICATOR "
+    PS1="${debian_chroot:+($debian_chroot)}$USERCOLOR$USERNAME\[\033[01;33m\]@\[\033[01;36m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$INDICATOR "
 else
     PS1='${debian_chroot:+($debian_chroot)}'"$USERNAME"'\h:\w\$INDICATOR '
 fi