aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorYang Tang <tangyang.cn@gmail.com>2018-08-22 21:37:52 +0300
committerYang Tang <tangyang.cn@gmail.com>2018-08-22 21:37:52 +0300
commit877ef6177366ffdcb25dcb6dfac38eb899e2f4e4 (patch)
tree5dc0f52e066aadfc3a025d1013a30de087ed2d4e /powerlevel9k.zsh-theme
parent571a859413866897cf962396f02f65a288f677ac (diff)
Fix icons cut off in RPROMPT segments
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 0b2287ef..1e9d1123 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -163,7 +163,7 @@ left_prompt_segment() {
# Allow users to overwrite the color for the visual identifier only.
local visual_identifier_color_variable=POWERLEVEL9K_${(U)1#prompt_}_VISUAL_IDENTIFIER_COLOR
set_default $visual_identifier_color_variable $4
- visual_identifier="%F{${(P)visual_identifier_color_variable}%}$visual_identifier%f"
+ visual_identifier="%F{${(P)visual_identifier_color_variable}%}$visual_identifier"
fi
fi
@@ -256,7 +256,7 @@ right_prompt_segment() {
# Allow users to overwrite the color for the visual identifier only.
local visual_identifier_color_variable=POWERLEVEL9K_${(U)1#prompt_}_VISUAL_IDENTIFIER_COLOR
set_default $visual_identifier_color_variable $4
- visual_identifier="%F{${(P)visual_identifier_color_variable}%}$visual_identifier%f"
+ visual_identifier="%F{${(P)visual_identifier_color_variable}%}$visual_identifier"
fi
fi