diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-05-14 13:40:55 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-05-14 13:40:55 +0300 |
commit | 54eb7c7decaaf8e889b0bfa6408ff10bfcb2d87a (patch) | |
tree | 13e68d6af53ed8b95a98249940daac2ab9f68a73 | |
parent | 154bc2e1ff9a435f8686962d5a8e88e6e63ff453 (diff) |
simplify right prompt prefix and suffix
-rwxr-xr-x | powerlevel9k.zsh-theme | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 9865d6ff..a96a0b0e 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -2371,7 +2371,8 @@ _p9k_init() { _p9k_get_icon LEFT_SEGMENT_END_SEPARATOR _P9K_LEFT_SUFFIX+=$_P9K_RETVAL - _P9K_RIGHT_SUFFIX+="%{$reset_color%}%E" + _P9K_RIGHT_SUFFIX+='%f%b%k' + _P9K_RIGHT_PREFIX+='%f%b%k' if [[ $POWERLEVEL9K_PROMPT_ON_NEWLINE == true ]]; then _p9k_get_icon MULTILINE_FIRST_PROMPT_PREFIX @@ -2392,8 +2393,6 @@ _p9k_init() { _P9K_LEFT_PREFIX+="%f%b%k" fi - _P9K_RIGHT_PREFIX+="%f%b%k" - if [[ $POWERLEVEL9K_PROMPT_ADD_NEWLINE == true ]]; then repeat ${POWERLEVEL9K_PROMPT_ADD_NEWLINE_COUNT:-1} { _P9K_LEFT_PREFIX=$'\n'$_P9K_LEFT_PREFIX } fi |