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

Replace ~ with ${HOME}

Ricardo Arguello 2018-06-13 16:22:56 -05:00
parent 7989244739
commit 7a2f18f5a8

@ -22,7 +22,7 @@ With most desktop-oriented distributions, double-clicking each font file in the
```bash
#!/bin/bash
fonts_dir="~/.local/share/fonts"
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d ${fonts_dir} ]; then
echo "mkdir -p $fonts_dir"
mkdir -p ${fonts_dir}
@ -31,7 +31,7 @@ else
fi
for type in Bold Light Medium Regular Retina; do
file_path="~/.local/share/fonts/FiraCode-${type}.ttf"
file_path="${HOME}/.local/share/fonts/FiraCode-${type}.ttf"
file_url="https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true"
if [ ! -e ${file_path} ]; then
echo "wget -O $file_path $file_url"