aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/sh/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index a0cbd02..5ca33e7 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -339,8 +339,9 @@ makeflags_status() {
fi
}
+VCS_PS1_TIMEOUT=0.5
vcs_status() {
- timeout 0.5 vcs ps1 || if [ $? = 124 ]; then
+ timeout "$VCS_PS1_TIMEOUT" vcs ps1 || if [ $? = 124 ]; then
color -c red '❌'
fi
}