• # dans /home/$USER/.bashrc

    Posté par . En réponse au message shell. Évalué à 2.

    # Comment in the above and uncomment this below for a color prompt

    PS1='${debian_chroot:+($debian_chroot)}\[033円[01;37m\]\u\[033円
    [1;34m\]@\[033円[01;37m\]\h\[033円[0;m\]:\[033円[01;34m\]\w\[033円
    [1;37m\]\$ '
    et

    # If this is an xterm set the title to user@host:dir
    case "$TERM" in
    xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "033円]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}007円"'
    ;;
    *)
    ;;
    esac

    Le mien est traficoté pour afficher les couleurs telles que je le souhaite dans Eterm.