summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus')
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-x86_64bin2049288 -> 2094344 bytes
-rw-r--r--gitstatus/gitstatus.plugin.zsh4
2 files changed, 3 insertions, 1 deletions
diff --git a/gitstatus/bin/gitstatusd-linux-x86_64 b/gitstatus/bin/gitstatusd-linux-x86_64
index 4537545c..2b02cd76 100755
--- a/gitstatus/bin/gitstatusd-linux-x86_64
+++ b/gitstatus/bin/gitstatusd-linux-x86_64
Binary files differ
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index b5e71097..3f971139 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -213,7 +213,9 @@ function gitstatus_start() {
}
zle -F $resp_fd _gitstatus_process_response_${name}
- log=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.log.XXXXXXXXXX)
+ [[ ${GITSTATUS_ENABLE_LOGGING:-0} == 1 ]] &&
+ log=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.log.XXXXXXXXXX) ||
+ log=/dev/null
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
zsh -c "