# Context executable wrapper declare -r context_root=/usr/share/texmf declare font_dirs="" if [[ -d "${HOME}/.fonts" ]]; then declare font_dirs+="${HOME}/.fonts" fi if [[ -d /usr/share/fonts ]]; then [[ -n "${font_dirs}" ]] && declare font_dirs+=";" declare font_dirs+=/usr/share/fonts fi declare -x OSFONTDIR="${font_dirs:-}" declare -x TEXMFCACHE=${HOME}/.texmf/texmf-cache declare -x TEXMFOS=${context_root}/texmf-context # vim:et:ft=sh:sw=2:ts=8