theme/powerline-multiline: `shfmt`
parent
b16d7efcf5
commit
6b02cd34b5
|
|
@ -1,11 +1,15 @@
|
|||
. "$BASH_IT/themes/powerline/powerline.base.bash"
|
||||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC2034 # Expected behavior for themes.
|
||||
# shellcheck source-path=SCRIPTDIR/../powerline
|
||||
source "${BASH_IT?}/themes/powerline/powerline.base.bash"
|
||||
|
||||
function __powerline_last_status_prompt {
|
||||
[[ "$1" -ne 0 ]] && echo "$(set_color ${LAST_STATUS_THEME_PROMPT_COLOR} -) ${1} ${normal}"
|
||||
}
|
||||
|
||||
function __powerline_right_segment {
|
||||
local OLD_IFS="${IFS}"; IFS="|"
|
||||
local OLD_IFS="${IFS}"
|
||||
IFS="|"
|
||||
local params=($1)
|
||||
IFS="${OLD_IFS}"
|
||||
local padding=0
|
||||
|
|
|
|||
Loading…
Reference in New Issue