diff --git a/bash_prompt b/bash_prompt index 598d983..f13c3a7 100644 --- a/bash_prompt +++ b/bash_prompt @@ -51,7 +51,7 @@ export BOLD export RESET function parse_git_dirty() { - [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" + [[ $(git status 2> /dev/null | tail -n1) != *"working directory clean"* ]] && echo "*" } function parse_git_branch() {