mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-10-04 00:31:49 +03:00
Updated shell script and created other steps
parent
5e2a814a21
commit
5ce6ff7504
@ -1,12 +1,16 @@
|
|||||||
With most desktop-oriented distributions, double-clicking the font file should be enough. If it isn’t (e.g., xubuntu), try this:
|
With most desktop-oriented distributions, double-clicking the font file should be enough. If it isn’t (e.g., xubuntu), try this:
|
||||||
|
|
||||||
1. `mkdir -p ~/.local/share/fonts`
|
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
|
for type in Bold Light Medium Regular Retina; do
|
||||||
wget -O ~/.local/share/fonts/FiraCode-$type.ttf
|
wget -O ~/.local/share/fonts/FiraCode-${type}.ttf
|
||||||
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true";
|
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true";
|
||||||
|
done
|
||||||
3. `fc-cache -f`
|
```
|
||||||
|
4. `bash download.sh`
|
||||||
|
5. `fc-cache -f`
|
||||||
|
|
||||||
[More details](https://github.com/tonsky/FiraCode/issues/4)
|
[More details](https://github.com/tonsky/FiraCode/issues/4)
|
Loading…
Reference in New Issue
Block a user