process ready replies from worker synchornously in precmd

This commit is contained in:
romkatv 2020-01-25 12:51:46 +01:00
commit f1bb5601fe
2 changed files with 4 additions and 0 deletions

View file

@ -121,6 +121,8 @@ function _p9k_worker_receive() {
emulate -L zsh
setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} no_aliases
[[ -z $_p9k__worker_resp_fd ]] && return
{
(( $# <= 1 )) || return