pull upstream changes from gitstatus

pull/70/head
romkatv 6 years ago
parent 5267a233cb
commit 50388b3935

@ -223,11 +223,14 @@ function gitstatus_start() {
esac esac
} }
local -i sigwinch_pid=-1
(( ! ${GITSTATUS_SEND_SIGWINCH:-0} )) || sigwinch_pid=$$
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup. # We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
zsh -xc " zsh -xc "
${(q)daemon} \ ${(q)daemon} \
--lock-fd=3 \ --lock-fd=3 \
--sigwinch-pid=$$ \ --sigwinch-pid=$sigwinch_pid \
--num-threads=$threads \ --num-threads=$threads \
--dirty-max-index-size=$max_dirty --dirty-max-index-size=$max_dirty
echo -nE $'bye\x1f0\x1e' echo -nE $'bye\x1f0\x1e'

Loading…
Cancel
Save