Squashed 'gitstatus/' changes from 7546f4de..b157d02a

b157d02a treat exit code 159 (SIGSYS) from gistatusd as terminal

git-subtree-dir: gitstatus
git-subtree-split: b157d02a9a89892f228064e06b5a817a24eea9ed
pull/929/head
Roman Perepelitsa 4 years ago
parent bf2aa14bec
commit 15818346bf

@ -165,7 +165,7 @@ function gitstatus_start() {
local ret=$?
trap - ${sig[@]}
case "$ret" in
0|129|130|131|137|141|143)
0|129|130|131|137|141|143|159)
echo -nE $'bye\x1f0\x1e' >&"$fd_out"
exit "$ret"
;;

@ -424,7 +424,7 @@ function _gitstatus_daemon"${1:-}"() {
if [[ -x $_gitstatus_zsh_daemon ]]; then
HOME=$home $_gitstatus_zsh_daemon -G $_gitstatus_zsh_version "${(@)args}" >&$pipe_fd
local -i ret=$?
[[ $ret == (0|129|130|131|137|141|143) ]] && return ret
[[ $ret == (0|129|130|131|137|141|143|159) ]] && return ret
fi
(( ! _gitstatus_zsh_downloaded )) || return

Loading…
Cancel
Save