aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-19 13:33:40 -0300
committerEuAndreh <eu@euandre.org>2021-01-19 13:33:40 -0300
commita705540a850eaa0bbf26cdb05bcbeb3712380f76 (patch)
treee7ae2c9e34019fabdca380968bef359463a55c20
parentFix cronjob paths (diff)
downloaddotfiles-a705540a850eaa0bbf26cdb05bcbeb3712380f76.tar.gz
dotfiles-a705540a850eaa0bbf26cdb05bcbeb3712380f76.tar.xz
ps1.sh: Also show repo as dirty with all files added
-rw-r--r--bash/ps1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/ps1.sh b/bash/ps1.sh
index 59c7aa53..0746a83b 100644
--- a/bash/ps1.sh
+++ b/bash/ps1.sh
@@ -39,7 +39,7 @@ repo_status() {
BRANCH_MARKER="$inner"
fi
- if echo "$DIFF_LINES" | grep -q '^[A|D| ][M|D| ]'; then
+ if echo "$DIFF_LINES" | grep -q '^[A|D|M| ][M|D| ]'; then
HAS_DIFF=1
fi