diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-19 13:33:40 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-19 13:33:40 -0300 |
| commit | a705540a850eaa0bbf26cdb05bcbeb3712380f76 (patch) | |
| tree | e7ae2c9e34019fabdca380968bef359463a55c20 | |
| parent | Fix cronjob paths (diff) | |
| download | dotfiles-a705540a850eaa0bbf26cdb05bcbeb3712380f76.tar.gz dotfiles-a705540a850eaa0bbf26cdb05bcbeb3712380f76.tar.xz | |
ps1.sh: Also show repo as dirty with all files added
| -rw-r--r-- | bash/ps1.sh | 2 |
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 |
