Commit 608ea477 authored by Tuomas Siipola's avatar Tuomas Siipola

Ignore comments in Alacritty font detection

parent 3d126619
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment