diff --git a/.bashrc b/.bashrc index 8498830..3299703 100644 --- a/.bashrc +++ b/.bashrc @@ -1,7 +1,7 @@ parse_git_branch() { - git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' + git branch --show-current 2> /dev/null }