diff --git a/bash/functions b/bash/functions index 75948b0..992a3d0 100644 --- a/bash/functions +++ b/bash/functions @@ -23,7 +23,8 @@ function parse_git_status { if [[ $(git status 2> /dev/null | wc -l) -eq 0 ]]; then return fi - if [[ $(git status 2> /dev/null | grep "working directory clean" | wc -l) -eq 0 ]]; then + + if [[ $(git status 2> /dev/null | grep -E "working tree|directory clean" | wc -l) -eq 0 ]]; then echo ' ∓' fi }