summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 64a7efd..b6f2ad9 100644
--- a/.bashrc
+++ b/.bashrc
@@ -171,12 +171,14 @@
}
ps_precursor() {
+ [ ! -w . ] && colors_prt "$PS_WARN" "$PS_BG"
if [ -n "$___changes" ]
then
printf "$PS_PREC_GIT"
else
printf "$PS_PREC"
fi
+ colors_res
}
trap "SECONDS=0;___timer=''" SIGUSR2