Skip to content

Commit

Permalink
theme/powerline-multiline: harmonize powerline.base.bash files
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Jan 26, 2022
1 parent 27bc4cf commit cda381d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions themes/powerline-multiline/powerline-multiline.base.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cda381d

Please sign in to comment.