1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-22 07:11:58 +00:00

manually collapse ' \b?' into '?'

This commit is contained in:
romkatv 2019-06-09 09:18:16 +02:00
parent f99cefc5ec
commit befe57dede

View file

@ -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