aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-03 13:42:43 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-03 13:42:43 +0300
commitdb35731c464c6c743603c4efd047baafaf6e6ca9 (patch)
treea436af9f6b72d3b86c3a5b8e7767f59c99872d74 /internal/p10k.zsh
parent09cebc28876a23bd276da5fe5be9895c82da88e1 (diff)
add RIGHT_SEGMENT_END_SEPARATOR
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 966bcfb9..10bc612c 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2685,11 +2685,15 @@ _p9k_init() {
_P9K_RIGHT_SUFFIX+='%f%b%k'
_P9K_RIGHT_PREFIX+='%f%b%k'
+ _p9k_get_icon RIGHT_SEGMENT_END_SEPARATOR
+ _p9k_escape_rcurly $_P9K_RETVAL
+ _P9K_RIGHT_PREFIX+=$_P9K_RETVAL
+
if [[ $POWERLEVEL9K_PROMPT_ON_NEWLINE == true ]]; then
_p9k_get_icon MULTILINE_FIRST_PROMPT_PREFIX
_P9K_LEFT_PREFIX+="$_P9K_RETVAL%f%b%k"
_p9k_get_icon MULTILINE_LAST_PROMPT_PREFIX
- _P9K_LEFT_SUFFIX+=$'\n'$_P9K_RETVAL
+ _P9K_LEFT_SUFFIX+=$'\n'$_P9K_RETVAL'%f%b%k'
if [[ $POWERLEVEL9K_RPROMPT_ON_NEWLINE != true && -o TRANSIENT_RPROMPT ]]; then
if is-at-least 5.3; then
function _p9k_zle_line_finish() {