aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-06-09 10:18:16 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-06-09 10:18:16 +0300
commitbefe57dede85e4d56c6cfb05ec84bb0dc306ca33 (patch)
tree6683ca73a73f7f8a0ee399356070a7318618edec /internal
parentf99cefc5ec30064111fb21df8ae32151fd0f33ca (diff)
manually collapse ' \b?' into '?'
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 4175a414..a95e9a07 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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