mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
ef8c12e285
[why] Codicons is completely missing... [how] After creating a stub file for Codicons, use _their_ definition file: curl -O https://raw.githubusercontent.com/microsoft/vscode-codicons/main/dist/codicon.csv cat codicon.csv | tail -n +2 | sort -k 3 -t ',' | sed -E "s/([^,]*),([^,]*),(.*)/i='\2' i_cod_\1=\$i/" | tr '-' '_' >> i_cod.sh Because they have new additional icons remove some lines in the bottom. And add the final `unset i`. I still have not figured out how the cheat sheet works and how we get the data into that... There is a `generate-css.sh`. Hmm. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
9 lines
270 B
Bash
9 lines
270 B
Bash
#!/usr/bin/env bash
|
|
# Nerd Fonts Version: 2.2.2
|
|
# Script Version 1.1.0
|
|
|
|
for i in $(dirname "${BASH_SOURCE[0]:-$0}")/i_{cod,dev,fae,fa,iec,linux,oct,ple,pom,seti,material,weather}.sh; do
|
|
# shellcheck source=/dev/null
|
|
test -f "$i" -a -r "$i" && source "$i"
|
|
done
|
|
unset i
|