'cd /' in the worker to avoid locking cwd

pull/690/head
romkatv 2020-05-04 13:24:22 +02:00
parent b2c77eb370
commit 2cc815deaf
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ function _p9k_worker_start() {
else
exec 2>/dev/null
fi
cd / || return
zmodload zsh/zselect || return
! { zselect -t0 || (( $? != 1 )) } || return
local _p9k_worker_pgid=$sysparams[pid]