aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/prompt.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/prompt.bash')
-rw-r--r--bash/bashrc.d/prompt.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index f1e51d78..454f2d4b 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -76,10 +76,10 @@ prompt() {
local line
local -i ready modified untracked
while IFS= read -d $'\0' -r line ; do
- if [[ $line == [MADRC]* ]] ; then
+ if [[ $line == [MADRCT]* ]] ; then
ready=1
fi
- if [[ $line == ?[MADRC]* ]] ; then
+ if [[ $line == ?[MADRCT]* ]] ; then
modified=1
fi
if [[ $line == '??'* ]] ; then