'cd /' in the worker to avoid locking cwd
parent
b2c77eb370
commit
2cc815deaf
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue