From a705540a850eaa0bbf26cdb05bcbeb3712380f76 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 19 Jan 2021 13:33:40 -0300 Subject: ps1.sh: Also show repo as dirty with all files added --- bash/ps1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3