From d2bdf74ff8a5540e6cb2334ecb89f88c847c3e94 Mon Sep 17 00:00:00 2001 From: "random-toto@localhost" Date: Fri, 7 Oct 2016 23:51:12 +0200 Subject: [PATCH] ajout de la branche git pour le prompt ($PS1) --- shell/bashrc_append | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/bashrc_append b/shell/bashrc_append index 9406bdd..a3a1222 100644 --- a/shell/bashrc_append +++ b/shell/bashrc_append @@ -31,5 +31,4 @@ TTY=$(tty | grep -o tty) } 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\]\$ "