summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus')
-rw-r--r--gitstatus/gitstatus.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index f5b48b71..d90a3866 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -207,6 +207,8 @@ function gitstatus_start() {
emulate -L zsh
setopt err_return no_unset no_bg_nice
+ [[ ${GITSTATUS_ENABLE_XTRACE:-0} != 1 ]] || setopt xtrace
+
local opt
local -F timeout=5
local -i max_dirty=-1