diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-05-04 18:58:57 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-05-04 18:58:57 +0300 |
commit | 3688d12857ac884f8ccacfd7a68cff031811e100 (patch) | |
tree | bfaa0748e6303fc9d896134d1038abce362202e1 | |
parent | 3f08f1392a3b3a815d80dc7f0378b3c85b92fdef (diff) |
`cd` => `cd -q` to survive weird chpwd hooks
-rw-r--r-- | internal/worker.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh index fb554907..9e78bc15 100644 --- a/internal/worker.zsh +++ b/internal/worker.zsh @@ -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] |