DEV Community

Discussion on: Get emojis working on arch linux with noto-fonts-emoji

Collapse
 
thepbone profile image
Tim Schneeberger • Edited

Great post!
But I noticed that <?xml version="1.0"?> evaluates to <?xml version=1.0?> (in zsh) which causes a syntax error when running fc-cache.
The same thing happens for <!DOCTYPE fontconfig SYSTEM "fonts.dtd">. Escaping the double quotes fixes this.

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Thanks Tim, good point! Maybe I should mention that in the post :)

Collapse
 
marchingon12 profile image
Austin Hornhead

I believe changing double quotes to single quotes would avoid the error from coming up. Other than that, the script is great! I've been trying to do smth like this for some time now, so thank you for writing this!