1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 21:40:08 +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 else
exec 2>/dev/null exec 2>/dev/null
fi fi
cd / || return builtin cd -q / || return
zmodload zsh/zselect || return zmodload zsh/zselect || return
! { zselect -t0 || (( $? != 1 )) } || return ! { zselect -t0 || (( $? != 1 )) } || return
local _p9k_worker_pgid=$sysparams[pid] local _p9k_worker_pgid=$sysparams[pid]