1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

reset text attributes at the end of precmd

This commit is contained in:
Roman Perepelitsa 2020-11-08 13:33:59 +01:00
parent 2fc7257486
commit f6c24d2053

View file

@ -6702,6 +6702,8 @@ _p9k_precmd() {
# See https://www.zsh.org/mla/workers/2020/msg00612.html for the reason behind __p9k_trapint. # See https://www.zsh.org/mla/workers/2020/msg00612.html for the reason behind __p9k_trapint.
typeset -g __p9k_trapint='_p9k_trapint; return 130' typeset -g __p9k_trapint='_p9k_trapint; return 130'
trap "$__p9k_trapint" INT trap "$__p9k_trapint" INT
: ${(%):-%b%k%s%u}
} }
function _p9k_reset_prompt() { function _p9k_reset_prompt() {