fix (lint): SC2086 in agnoster theme
parent
c04167d241
commit
c5747327f2
|
|
@ -182,7 +182,7 @@ prompt_segment() {
|
||||||
# declare -p codes
|
# declare -p codes
|
||||||
|
|
||||||
if [[ $CURRENT_BG != NONE && $1 != "$CURRENT_BG" ]]; then
|
if [[ $CURRENT_BG != NONE && $1 != "$CURRENT_BG" ]]; then
|
||||||
declare -a intermediate=("$(fg_color $CURRENT_BG)" "$(bg_color "$1")")
|
declare -a intermediate=("$(fg_color "$CURRENT_BG")" "$(bg_color "$1")")
|
||||||
debug "pre prompt " "$(ansi intermediate[@])"
|
debug "pre prompt " "$(ansi intermediate[@])"
|
||||||
PR="$PR $(ansi intermediate[@])$SEGMENT_SEPARATOR"
|
PR="$PR $(ansi intermediate[@])$SEGMENT_SEPARATOR"
|
||||||
debug "post prompt " "$(ansi codes[@])"
|
debug "post prompt " "$(ansi codes[@])"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue