aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-08 15:33:59 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-08 15:33:59 +0300
commitf6c24d2053fe7746a33791b3f366e039caa3058a (patch)
tree0c5c696bfa3da90d83bdd2e704abe690a7f5016f /internal/p10k.zsh
parent2fc725748643a00baad6c0ef3645d71ddbb3c1f0 (diff)
reset text attributes at the end of precmd
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 2 insertions, 0 deletions
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() {