mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
a519cfe3a1
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
22 lines
615 B
Bash
22 lines
615 B
Bash
#!/usr/bin/env bash
|
|
# Nerd Fonts Version: 3.0.1
|
|
# Script Version 1.2.0
|
|
|
|
# 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
|
|
sets+=('material')
|
|
fi
|
|
|
|
for set in "${sets[@]}"; do
|
|
i="${base}/i_${set}.sh"
|
|
# shellcheck disable=SC1090 # We check the sources individually
|
|
test -f "$i" -a -r "$i" && source "$i"
|
|
done
|
|
unset i
|