theme/powerline-multiline: harmonize `powerline.base.bash` files

pull/2051/head
John D Pell 2022-01-17 14:03:18 -08:00
parent 6b02cd34b5
commit 12046c7cad
1 changed files with 3 additions and 5 deletions

View File

@ -8,12 +8,10 @@ function __powerline_last_status_prompt {
}
function __powerline_right_segment {
local OLD_IFS="${IFS}"
IFS="|"
local params=($1)
IFS="${OLD_IFS}"
local padding=0
local -a params
IFS="|" read -ra params <<< "${1}"
local pad_before_segment=" "
local padding=0
if [[ "${SEGMENTS_AT_RIGHT}" -eq 0 ]]; then
if [[ "${POWERLINE_COMPACT_AFTER_LAST_SEGMENT}" -ne 0 ]]; then