mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-24 16:11:57 +00:00
explicit exec in worker
This commit is contained in:
parent
0d8a51bcf3
commit
430c2b0178
1 changed files with 2 additions and 2 deletions
|
@ -283,10 +283,10 @@ function _p9k_worker_start() {
|
|||
} always { rm -f -- $fifo }
|
||||
IFS= read -rd $'"'\\x1e'"' && eval $REPLY
|
||||
} &!
|
||||
command true'
|
||||
exec true'
|
||||
sysopen -r -o cloexec -u _p9k__worker_resp_fd <(
|
||||
_p9k_worker_bootstrap=${bootstrap// ##} </dev/null 4>&1 &>>$log_file \
|
||||
$zsh -${trace}dfmc '"eval" "$_p9k_worker_bootstrap"' ) || return
|
||||
exec $zsh -${trace}dfmc '"eval" "$_p9k_worker_bootstrap"') || return
|
||||
zle -F $_p9k__worker_resp_fd _p9k_worker_receive
|
||||
_p9k__worker_shell_pid=$sysparams[pid]
|
||||
add-zsh-hook zshexit _p9k_worker_cleanup
|
||||
|
|
Loading…
Reference in a new issue