diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-05-27 22:07:28 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-05-27 22:07:28 +0300 |
commit | 8a2207a84e0106920e82cf18b34a59c56de540fc (patch) | |
tree | c9b0db550ac40cf23130d366a1cdf2fc501bd308 /powerlevel9k.zsh-theme | |
parent | a5b13acb35175591cbce5dea1702520ddc9211b3 (diff) |
print LEFT_SEGMENT_END_SEPARATOR in the right place
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 260dc311..8a8a09b1 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -408,7 +408,7 @@ function _p9k_left_prompt_end_line() { _P9K_PROMPT+="\${\${_P9K_N:=2}+}" _P9K_PROMPT+="\${\${_P9K_T[2]::=%F{\$_P9K_BG\}$_P9K_RETVAL}+}" _P9K_PROMPT+="\${_P9K_T[\$_P9K_N]}" - _P9K_PROMPT+='%f' + _P9K_PROMPT+="%f$1%f%k%b" if (( ! _P9K_RPROMPT_DONE )); then _P9K_PROMPT+=$_P9K_ALIGNED_RPROMPT @@ -2121,7 +2121,8 @@ build_left_prompt() { ((++index)) done - _p9k_left_prompt_end_line + _p9k_get_icon LEFT_SEGMENT_END_SEPARATOR + _p9k_left_prompt_end_line $_P9K_RETVAL } # Right prompt @@ -2437,8 +2438,6 @@ _p9k_init() { _p9k_get_icon LEFT_SEGMENT_SEPARATOR _P9K_T=("%f$_P9K_RETVAL" "") - _p9k_get_icon LEFT_SEGMENT_END_SEPARATOR - _P9K_LEFT_SUFFIX+=$_P9K_RETVAL _P9K_RIGHT_SUFFIX+='%f%b%k' _P9K_RIGHT_PREFIX+='%f%b%k' |