diff options
-rw-r--r-- | .bash_prompt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash_prompt b/.bash_prompt index 2ce0bed..110c926 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -44,7 +44,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() { |