From 608ea4770433e1e1ee2af0256079f6982974559d Mon Sep 17 00:00:00 2001 From: Tuomas Siipola Date: Sat, 28 Jan 2017 00:13:02 +0200 Subject: [PATCH] Ignore comments in Alacritty font detection --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index ab5f7a9b..964d69ce 100755 --- a/neofetch +++ b/neofetch @@ -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")