mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Squashed 'gitstatus/' changes from 7546f4de..b157d02a
b157d02a treat exit code 159 (SIGSYS) from gistatusd as terminal git-subtree-dir: gitstatus git-subtree-split: b157d02a9a89892f228064e06b5a817a24eea9ed
This commit is contained in:
parent
bf2aa14bec
commit
15818346bf
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue