mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
bug fix: default {RIGHT,LEFT}_MIDDLE_WHITESPACE to space
This commit is contained in:
parent
78eee98250
commit
ef06651f68
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue