aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-23 13:29:48 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-23 13:29:48 +0300
commit4be593ee5bc308b8be7aa6b47ee0bb97ba479981 (patch)
treefde52763876c290111f3aa367532ad0443a3705d /gitstatus/gitstatus.plugin.zsh
parentcea3f32d5966dc2ba6088e314cfe93deb81b99ea (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r--gitstatus/gitstatus.plugin.zsh6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 3fede495..cdd2cb8b 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -221,7 +221,11 @@ function gitstatus_start() {
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
zsh -xc "
- ${(q)daemon} --lock-fd=3 --dirty-max-index-size=$max_dirty --num-threads=$threads
+ ${(q)daemon} \
+ --lock-fd=3 \
+ --sigwinch-pid=$$ \
+ --num-threads=$threads \
+ --dirty-max-index-size=$max_dirty
echo -nE $'bye\x1f0\x1e'
" <&$req_fd >&$resp_fd 2>$log_file 3<$lock_file &!