Prompt root en rouge

Editer le fichier .bashrc
remplacer la ligne

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] '

(le 32m devient 31m  (32 ->vert; 31->rouge) ... 33 ->jaune

https://wiki.archlinux.org/index.php/Color_Bash_Prompt

 

No module Published on Offcanvas position