macOS Sierra (HyperTerm): Add termfont detection

This commit is contained in:
Jorge Gonzalez 2016-11-04 17:44:44 -04:00
parent a63a6a6b1d
commit 1830f9651b

View file

@ -1541,6 +1541,10 @@ gettermfont() {
termfont="${termfont/.pcf}"
termfont="${termfont/:*}"
;;
"HyperTerm")
termfont="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')"
;;
esac
[ "$version" -ge 4 ] && termfont="${termfont^}"