work around more zsh bugs w.r.t. local traps

This commit is contained in:
romkatv 2020-05-06 23:13:56 +02:00
commit dc1f023344
2 changed files with 5 additions and 3 deletions

View file

@ -6428,7 +6428,7 @@ _p9k_precmd() {
__p9k_new_status=$?
__p9k_new_pipestatus=($pipestatus)
trap "" INT
trap ":" INT
[[ -o ksh_arrays ]] && __p9k_ksh_arrays=1 || __p9k_ksh_arrays=0
[[ -o sh_glob ]] && __p9k_sh_glob=1 || __p9k_sh_glob=0