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

cd => cd -q to survive weird chpwd hooks

This commit is contained in:
romkatv 2020-05-04 17:58:57 +02:00
parent 3f08f1392a
commit 3688d12857

View file

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