🦊 Reformat code with shfmt
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Marty Oehme 2025-02-06 16:27:08 +01:00
parent 155114aaec
commit b9c4ea7c77
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

4
bemoji
View file

@ -61,7 +61,7 @@ version() {
} }
msg() { msg() {
# Outputs a message to stderr, to be used for info, warning and error messages. # Outputs a message to stderr, to be used for info, warning and error messages.
printf "%s\n" "$1" >&2 printf "%s\n" "$1" >&2
} }
@ -175,7 +175,7 @@ dl_nerd_symbols() {
local nerd all local nerd all
nerd=$(curl -sSL "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/css/nerd-fonts-generated.css") nerd=$(curl -sSL "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/css/nerd-fonts-generated.css")
all+=$(printf "%s" "$nerd" | sed -ne '/\.nf-/p' -e '/\s*[^_]content:/p' | sed -e 'N;s/^\.nf-\(.*\):before.* content: \"\\\(.*\)\";/\\U\2 \1/') all+=$(printf "%s" "$nerd" | sed -ne '/\.nf-/p' -e '/\s*[^_]content:/p' | sed -e 'N;s/^\.nf-\(.*\):before.* content: \"\\\(.*\)\";/\\U\2 \1/')
echo -e "$all" > "$bm_db_location/nerdfont.txt" echo -e "$all" >"$bm_db_location/nerdfont.txt"
msg "Downloaded nerdfont symbols set." msg "Downloaded nerdfont symbols set."
} }