Fix _p9k_precmd:trap:17: undefined signal: return

Signed-off-by: Olivier MARY <olivier@omary.fr>
This commit is contained in:
Olivier MARY 2020-05-07 10:52:29 +02:00
parent 94bbbc1ca8
commit ce90fb70aa
1 changed files with 1 additions and 1 deletions

View File

@ -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() {