diff --git a/bash/bash_profile b/bash/bash_profile index 3f1bc6b..bb57ada 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -15,7 +15,7 @@ function parse_git_branch { if [ $? -eq 0 ]; then git_status="$(git status 2> /dev/null)" git_stash="$(git stash list 2> /dev/null)" - branch_pattern="^# On branch ([^${IFS}]*)" + branch_pattern="^On branch ([^${IFS}]*)" detached_branch_pattern="# Not currently on any branch" remote_pattern="# Your branch is (.*) of" diverge_pattern="# Your branch and (.*) have diverged"