forked from mirrors/nixpkgs
5 lines
182 B
Bash
5 lines
182 B
Bash
|
p=( $(for n in $(fc-list | sed -r -e 's|^([^:]+):.*$|\1|'); do echo $(dirname "$n"); done | sort | uniq) )
|
||
|
IFS=:
|
||
|
export GDFONTPATH="${GDFONTPATH}${GDFONTPATH:+:}${p[*]}"
|
||
|
unset IFS p
|