diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/bashrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/bashrc b/base/bashrc index 66322c8..3642bd7 100644 --- a/base/bashrc +++ b/base/bashrc @@ -49,10 +49,12 @@ if [ -n "$force_color_prompt" ]; then fi fi +GIT_PS1_SHOWDIRTYSTATE=1 + if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1 " (%s)")\$ ' fi unset color_prompt force_color_prompt |