summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-07 00:13:56 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-07 00:13:56 +0300
commitdc1f0233440606a9b175b5f2871a098c24af5c74 (patch)
tree9a8ec9ec47e51b5683ffdaa127f87f929aff79ff /internal
parentaceb1c5c77261594f16f662942da2f06f6a6bfdf (diff)
work around more zsh bugs w.r.t. local traps
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index d82be693..5cc3195e 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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