diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2019-02-01 16:19:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 16:19:02 +0300 |
commit | bd340d4a88797e760efb28c1180254e7779c990f (patch) | |
tree | 0ea929fbc249e98b3ad3cbfe7c466180fac9447c /powerlevel9k.zsh-theme | |
parent | 6ccdfdf37e47f67683c016426cac89c6a3ac9fb0 (diff) | |
parent | 5737ca6e81a3191cb232085877b5894be0a052ed (diff) |
Merge pull request #966 from ytang/fix-rprompt-icons-cut-off
[Bugfix] Fix icons cut off in RPROMPT segments
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 383a3b91..51846bcf 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -172,7 +172,7 @@ left_prompt_segment() { # Allow users to overwrite the color for the visual identifier only. local visual_identifier_color_variable=POWERLEVEL9K_${(U)${segment_name}#prompt_}_VISUAL_IDENTIFIER_COLOR set_default $visual_identifier_color_variable "${foregroundColor}" - visual_identifier="$(foregroundColor ${(P)visual_identifier_color_variable})${visual_identifier}%f" + visual_identifier="$(foregroundColor ${(P)visual_identifier_color_variable})${visual_identifier}" fi fi @@ -274,7 +274,7 @@ right_prompt_segment() { # Allow users to overwrite the color for the visual identifier only. local visual_identifier_color_variable=POWERLEVEL9K_${(U)${segment_name}#prompt_}_VISUAL_IDENTIFIER_COLOR set_default $visual_identifier_color_variable "${foregroundColor}" - visual_identifier="$(foregroundColor ${(P)visual_identifier_color_variable})${visual_identifier}%f" + visual_identifier="$(foregroundColor ${(P)visual_identifier_color_variable})${visual_identifier}" fi fi |