diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index b7c4f09..f7a8cde 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -28,7 +28,8 @@ function sqlsetup { cp -a ~/git/sqlsetup/* ~/shares/sqlsetup/ } -PS1='`[ $? = 0 ] || echo "$? "`[\u@\h \w]\$ ' +source /usr/share/git/git-prompt.sh +PS1='`[ $? = 0 ] || echo "$? "`[\u@\h \w`__git_ps1 " (%s)"`]\$ ' alias ls='ls --color=auto' alias ip='ip --color=auto'