1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

'cd /' in the worker to avoid locking cwd

This commit is contained in:
romkatv 2020-05-04 13:24:22 +02:00
parent b2c77eb370
commit 2cc815deaf

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]