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:
parent
b2c77eb370
commit
2cc815deaf
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue