prompt: fix usage of zsh-async in sorin prompt (#1810)
This commit is contained in:
parent
d5bef142d4
commit
5b03d7fa32
1 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,13 @@ function prompt_sorin_async_callback {
|
||||||
zle && zle reset-prompt
|
zle && zle reset-prompt
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
"[async]")
|
||||||
|
# Code is 1 for corrupted worker output and 2 for dead worker.
|
||||||
|
if [[ $2 -eq 2 ]]; then
|
||||||
|
# Our worker died unexpectedly.
|
||||||
|
typeset -g prompt_prezto_async_init=0
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue