Fix bash prompt to show git status correctly

main
Buddy Sandidge 4 years ago
parent 8e85e8b074
commit 899676b529

@ -41,7 +41,7 @@ function parse_git_status {
return return
fi fi
if [[ $(git status 2> /dev/null | grep -c "working tree|directory clean") -eq 0 ]]; then if [[ $(git status 2> /dev/null | grep -c "working tree clean") -eq 0 ]]; then
echo ' ∓' echo ' ∓'
fi fi
} }

Loading…
Cancel
Save