work around more zsh bugs w.r.t. local traps
This commit is contained in:
parent
aceb1c5c77
commit
dc1f023344
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue