Term Font (Termite): Ignore comments

This commit is contained in:
Dylan Araps 2016-10-03 17:09:01 +11:00
parent 946ac5eaa0
commit e31e9a400e

View file

@ -1591,7 +1591,7 @@ gettermfont() {
;;
"termite")
termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
termfont="$(awk -F '= ' '!/^($|#|;)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
;;
"mintty")