File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
themes/powerline-multiline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function __powerline_prompt_command() {
75
75
76
76
# # left prompt ##
77
77
# shellcheck disable=SC2068 # intended behavior
78
- for segment in ${POWERLINE_PROMPT [@]-" user_info" " scm" " python_venv" " ruby" " node" " cwd" } ; do
78
+ for segment in ${POWERLINE_LEFT_PROMPT [@]-" user_info" " scm" " python_venv" " ruby" " node" " cwd" } ; do
79
79
info=" $( " __powerline_${segment} _prompt" ) "
80
80
if [[ -n " ${info} " ]]; then
81
81
__powerline_left_segment " ${info} "
@@ -90,7 +90,7 @@ function __powerline_prompt_command() {
90
90
# but when part of the prompt exists within that segment, we instead match the foreground color.
91
91
prompt_color=" $( set_color " ${LAST_SEGMENT_COLOR?} " -) "
92
92
if [[ -n " ${LEFT_PROMPT:- } " && -n " ${POWERLINE_LEFT_LAST_SEGMENT_END_CHAR:- } " ]]; then
93
- LEFT_PROMPT+=" $( set_color - " ${LAST_SEGMENT_COLOR?} " ) ${POWERLINE_LEFT_LAST_SEGMENT_END_CHAR} "
93
+ LEFT_PROMPT+=" $( set_color " ${LAST_SEGMENT_COLOR?} " - ) ${POWERLINE_LEFT_LAST_SEGMENT_END_CHAR} "
94
94
prompt_color=" ${normal?} "
95
95
fi
96
96
You can’t perform that action at this time.
0 commit comments