diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-20 00:28:06 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-20 00:28:06 +0300 |
commit | ef06651f68d42253da01ece4cfc0062bebf03953 (patch) | |
tree | 648ab5b606eb26b328695db01e9100ac0ff2557d /internal | |
parent | 78eee98250ee884fe4381be873736ad084679614 (diff) |
bug fix: default {RIGHT,LEFT}_MIDDLE_WHITESPACE to space
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/p10k.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index daf76689..0114d33e 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -360,7 +360,7 @@ left_prompt_segment() { [[ $_P9K_RETVAL != $style_ || $need_style == 1 ]] && p+=$_P9K_RETVAL p+='${_P9K_V}' - _p9k_get_icon $1 LEFT_MIDDLE_WHITESPACE $space + _p9k_get_icon $1 LEFT_MIDDLE_WHITESPACE ' ' if [[ -n $_P9K_RETVAL ]]; then _p9k_escape $_P9K_RETVAL [[ _P9K_RETVAL == *%* ]] && _P9K_RETVAL+=$style_ @@ -531,7 +531,7 @@ right_prompt_segment() { if (( has_icon != 0 )); then local -i need_style=0 - _p9k_get_icon $1 RIGHT_MIDDLE_WHITESPACE $space + _p9k_get_icon $1 RIGHT_MIDDLE_WHITESPACE ' ' if [[ -n $_P9K_RETVAL ]]; then _p9k_escape $_P9K_RETVAL [[ $_P9K_RETVAL == *%* ]] && need_style=1 |