1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-07-04 16:06:26 +03:00

Updated shell script and created other steps

h4rvey r0ss 2017-05-02 20:44:52 +00:00
parent 5e2a814a21
commit 5ce6ff7504

@ -1,12 +1,16 @@
With most desktop-oriented distributions, double-clicking the font file should be enough. If it isnt (e.g., xubuntu), try this:
1. `mkdir -p ~/.local/share/fonts`
2.
2. `touch download.sh`
3. ```shell
# In download.sh
for type in Bold Light Medium Regular Retina; do
wget -O ~/.local/share/fonts/FiraCode-$type.ttf
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true";
3. `fc-cache -f`
wget -O ~/.local/share/fonts/FiraCode-${type}.ttf
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true";
done
```
4. `bash download.sh`
5. `fc-cache -f`
[More details](https://github.com/tonsky/FiraCode/issues/4)