summaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-01 10:50:17 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-01 10:50:17 +0300
commit1f8cd36f734d9fe74e01f12f0ef17e9adf79459c (patch)
tree35ad48bd62a04a38f37f02c9d42ac8559f623232 /gitstatus/gitstatus.plugin.zsh
parentc6c323ebadea70b3026cada6a6487bee23e1506c (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-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