diff --git a/Linux-instructions.md b/Linux-instructions.md index 1b158fb..ab8b828 100644 --- a/Linux-instructions.md +++ b/Linux-instructions.md @@ -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: 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) \ No newline at end of file