misc: cleanup

This commit is contained in:
Dylan Araps 2018-06-19 16:13:09 +10:00
parent 97b4f04d33
commit c152801a8a

View file

@ -3021,7 +3021,7 @@ END
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
xrdb="$(xrdb -query)"
term_font="$(grep -im 1 -e "^${term/d}"'\**\.*font' -e "^\\*font" <<< "$xrdb")"
term_font="$(grep -im 1 -e "^${term/d}"'\**\.*font' -e '^\*font' <<< "$xrdb")"
term_font="${term_font/*"*font:"}"
term_font="${term_font/*".font:"}"
term_font="${term_font/*"*.font:"}"