2018-07-09 16:20:40 +02:00
|
|
|
#!/usr/bin/env bash
|
2023-11-21 12:23:08 +02:00
|
|
|
# Nerd Fonts Version: 3.1.0
|
2023-05-03 17:54:44 +02:00
|
|
|
# Script Version 1.2.0
|
2018-01-11 04:14:57 +02:00
|
|
|
|
2023-05-03 17:54:44 +02:00
|
|
|
# Usually this is called without argument. If the first argument
|
|
|
|
# is 'include-old-material' the old material design icons will be
|
|
|
|
# included. This is needed for the cheat sheet.
|
|
|
|
|
|
|
|
sets=('cod' 'dev' 'fae' 'fa' 'iec' 'logos' 'oct' 'ple' 'pom' 'seti' 'weather' 'md')
|
|
|
|
base=$(dirname "${BASH_SOURCE[0]:-$0}")
|
|
|
|
|
|
|
|
if [ "$1" = "include-old-material" ]; then
|
2023-06-01 11:27:42 +02:00
|
|
|
sets+=('material')
|
2023-05-03 17:54:44 +02:00
|
|
|
fi
|
|
|
|
|
2023-06-01 11:27:42 +02:00
|
|
|
for set in "${sets[@]}"; do
|
2023-05-03 17:54:44 +02:00
|
|
|
i="${base}/i_${set}.sh"
|
2023-06-01 11:27:42 +02:00
|
|
|
# shellcheck disable=SC1090 # We check the sources individually
|
2017-03-31 05:50:56 +02:00
|
|
|
test -f "$i" -a -r "$i" && source "$i"
|
|
|
|
done
|
|
|
|
unset i
|