fixci
This commit is contained in:
parent
2b61a0389d
commit
20763dc8ce
16
pfetch
16
pfetch
|
@ -1024,10 +1024,15 @@ get_palette() {
|
||||||
#
|
#
|
||||||
# This allows us to save hardcoding a second set of sequences
|
# This allows us to save hardcoding a second set of sequences
|
||||||
# for background colors.
|
# for background colors.
|
||||||
esc SGR 7
|
#
|
||||||
palette="$e$c1 $c1 $c2 $c2 $c3 $c3 $c4 $c4 $c5 $c5 $c6 $c6 "
|
# False positive.
|
||||||
esc SGR 0
|
# shellcheck disable=2154
|
||||||
palette="$palette$e"
|
{
|
||||||
|
esc SGR 7
|
||||||
|
palette="$e$c1 $c1 $c2 $c2 $c3 $c3 $c4 $c4 $c5 $c5 $c6 $c6 "
|
||||||
|
esc SGR 0
|
||||||
|
palette="$palette$e"
|
||||||
|
}
|
||||||
|
|
||||||
# Print the palette with a new-line before and afterwards.
|
# Print the palette with a new-line before and afterwards.
|
||||||
printf '\n' >&6
|
printf '\n' >&6
|
||||||
|
@ -1071,6 +1076,9 @@ get_ascii() {
|
||||||
# NOTE: Each ascii art below is indented using tabs, this
|
# NOTE: Each ascii art below is indented using tabs, this
|
||||||
# allows indentation to continue naturally despite
|
# allows indentation to continue naturally despite
|
||||||
# the use of '<<-EOF'.
|
# the use of '<<-EOF'.
|
||||||
|
#
|
||||||
|
# False positive.
|
||||||
|
# shellcheck disable=2154
|
||||||
case ${1:-${PF_ASCII:-${distro:-$os}}} in
|
case ${1:-${PF_ASCII:-${distro:-$os}}} in
|
||||||
([Aa]lpine*)
|
([Aa]lpine*)
|
||||||
read_ascii 4 <<-EOF
|
read_ascii 4 <<-EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user