From f6c24d2053fe7746a33791b3f366e039caa3058a Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Sun, 8 Nov 2020 13:33:59 +0100 Subject: [PATCH] reset text attributes at the end of precmd --- internal/p10k.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index dfa4126b..f4a5dbf0 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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() {