1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

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

Signed-off-by: Olivier MARY <olivier@omary.fr>
This commit is contained in:
Olivier MARY 2020-05-07 11:02:31 +02:00 committed by GitHub
parent 94bbbc1ca8
commit 541d573551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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