Fix _p9k_precmd:trap:17: undefined signal: return (#695)

Signed-off-by: Olivier MARY <olivier@omary.fr>
pull/735/head
Olivier MARY 4 years ago committed by GitHub
parent 94bbbc1ca8
commit 541d573551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save