mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
'cd /' in the worker to avoid locking cwd
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user