summaryrefslogtreecommitdiff
path: root/internal/worker.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-25 14:51:46 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-25 14:51:46 +0300
commitf1bb5601fe8b266a61e78c58cbe4e976bd6f83fd (patch)
tree22b0b1ae17a7f60e4cca524ca849eca6360bc9ea /internal/worker.zsh
parente97a6c67014a1cc92187832fccd23dc7923c3e85 (diff)
process ready replies from worker synchornously in precmd
Diffstat (limited to 'internal/worker.zsh')
-rw-r--r--internal/worker.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh
index dad0bb74..99948c46 100644
--- a/internal/worker.zsh
+++ b/internal/worker.zsh
@@ -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