mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
reset text attributes at the end of precmd
This commit is contained in:
parent
2fc7257486
commit
f6c24d2053
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue