reset text attributes at the end of precmd

pull/1119/head
Roman Perepelitsa 4 years ago
parent 2fc7257486
commit f6c24d2053

@ -6702,6 +6702,8 @@ _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
: ${(%):-%b%k%s%u}
}
function _p9k_reset_prompt() {

Loading…
Cancel
Save