From 541d573551ad4a9103098ddc7e6f116636b7030d Mon Sep 17 00:00:00 2001 From: Olivier MARY Date: Thu, 7 May 2020 11:02:31 +0200 Subject: [PATCH] Fix _p9k_precmd:trap:17: undefined signal: return (#695) Signed-off-by: Olivier MARY --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index eaf261db..adf6127d 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6441,7 +6441,7 @@ _p9k_precmd() { # See https://www.zsh.org/mla/workers/2020/msg00612.html for the reason behind __p9k_trapint. typeset -g __p9k_trapint='_p9k_trapint; return 130' - trap $__p9k_trapint INT + trap "$__p9k_trapint" INT } function _p9k_reset_prompt() {