ajout de la branche git pour le prompt ($PS1)

This commit is contained in:
random-toto@localhost 2016-10-07 23:51:12 +02:00
parent 0b2e6771bc
commit d2bdf74ff8
1 changed files with 1 additions and 2 deletions

View File

@ -31,5 +31,4 @@ TTY=$(tty | grep -o tty)
} }
fi fi
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[00m\]\[\033[01;34m\]@\[\033[00m\]\[\033[01;31m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1="${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[00m\]\[\033[01;34m\]@\[\033[00m\]\[\033[01;31m\ ]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[01;33m\]\$(__git_ps1 '(%s)')\[\033[01;00m\]\$ "