Pour activer la coloration du prompt sur Ubuntu (j’ai teste sur Ubuntu 12.04)
il faut ajouter ceci au fichier /et/profile
# set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm|xterm-color) color_prompt=yes;; esac if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\] (\u@\h)\[\033[01;36m\] (\w) \$ \[\033[00m\]' else PS1='${debian_chroot:+($ debian_chroot)}\u@\h:\w\$ ' fi