[download]
local/bin/nerdfonts
1
2
3 f=~/.cache/nerdfonts
4
5 [[ ! -f $f ]] &&
6 curl -s https://www.nerdfonts.com/cheat-sheet |
7 grep 'class-name">nf-' | tr '<>' '\t\t' | cut -f 3,7 > $f
8
9 while read name icon; do
10 printf '%b %s\n' "\u$icon" "${name#nf-}"
11 done < $f
|