Merge pull request #649 from siiptuo/fix-alacritty-font

Fix Alacritty font detection
This commit is contained in:
Dylan Araps 2017-01-28 11:37:52 +11:00 committed by GitHub
commit 4e3a9a1ac8

View file

@ -1619,6 +1619,7 @@ get_term_font() {
term_font="$(awk -F ':|#' '/normal:/ {getline; print}' "${XDG_CONFIG_HOME}/alacritty/alacritty.yml")"
term_font="${term_font/*family:}"
term_font="${term_font/$'\n'*}"
term_font="${term_font/\#*}"
;;
"Apple_Terminal")