# Enable current git branch to bash promt # nano /root/.bashrc if [ -f /etc/bash_completion.d/git ]; then . /etc/bash_completion.d/git fi PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w $(__git_ps1 "(%s)")\$ '