kitty: fix regression in regex

This commit is contained in:
Birger J. Nordølum 2018-05-09 14:15:24 +02:00
parent a5f5be869c
commit a7c6745507
No known key found for this signature in database
GPG Key ID: 1E2DC712B50089CC
1 changed files with 2 additions and 2 deletions

View File

@ -2906,8 +2906,8 @@ END
fi
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
/\^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
/^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
"${kitty_file}")"
;;