ajout de la branche git pour le prompt ($PS1)
This commit is contained in:
parent
0b2e6771bc
commit
d2bdf74ff8
|
@ -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\]\$ "
|
||||
|
|
Loading…
Reference in New Issue