mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
manually collapse ' \b?' into '?'
This commit is contained in:
parent
f99cefc5ec
commit
befe57dede
1 changed files with 3 additions and 0 deletions
|
@ -2240,6 +2240,9 @@ function _p9k_set_prompt() {
|
|||
else
|
||||
PROMPT+=$_P9K_LEFT_PREFIX$_P9K_PROMPT${_P9K_LEFT_SUFFIX#$'\n'}
|
||||
fi
|
||||
|
||||
PROMPT=${PROMPT//$' %{\b'/'%{%G'}
|
||||
RPROMPT=${RPROMPT//$' %{\b'/'%{%G'}
|
||||
}
|
||||
|
||||
typeset -g _P9K_REFRESH_REASON
|
||||
|
|
Loading…
Reference in a new issue