diff --git a/.bash_profile b/.bash_profile index bea8fba..ea59a6b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -82,7 +82,7 @@ export RESET # Git branch details function parse_git_dirty() { - [[ $(git status 2> /dev/null | tail -n1) != *"working directory clean"* ]] && echo "*" + [[ $(git status 2> /dev/null | tail -n1) != *"working tree clean"* ]] && echo "*" } function parse_git_branch() { git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)/"