summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-11 02:30:14 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-11 02:30:14 +0300
commit0061264f57735fc34f9f0f4d7a07f805ff7e8087 (patch)
tree1422e1bf8afebfabd93c3fe3eccf7c1f7d6bd69b /gitstatus
parent0aa667dbf895aa0d9e56a8ee06b2d4b5a05af25c (diff)
pull upstream changes from gitstatus
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 "