Let's pass that lint test, shall we?

pull/1970/head
Ira Abramov 2021-10-11 14:38:41 +03:00
parent d20dfdd523
commit c2cf338c28
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ function __powerline_left_segment {
LEFT_PROMPT+="${POWERLINE_LEFT_SEPARATOR}" LEFT_PROMPT+="${POWERLINE_LEFT_SEPARATOR}"
fi fi
# shellcheck disable=SC2154
LEFT_PROMPT+="$(set_color "${params[1]}" -)${pad_before_segment}${params[0]}${normal}" LEFT_PROMPT+="$(set_color "${params[1]}" -)${pad_before_segment}${params[0]}${normal}"
LAST_SEGMENT_COLOR=${params[1]} LAST_SEGMENT_COLOR=${params[1]}
((SEGMENTS_AT_LEFT += 1)) ((SEGMENTS_AT_LEFT += 1))