try to fix font instllation problems on mac

pull/527/head
romkatv 5 years ago
parent ff496ab2ba
commit ffbf86903d

@ -322,7 +322,8 @@ function install_font() {
for style in Regular Bold Italic 'Bold Italic'; do for style in Regular Bold Italic 'Bold Italic'; do
local file="MesloLGS NF ${style}.ttf" local file="MesloLGS NF ${style}.ttf"
run_command "Downloading %B$file%b" \ run_command "Downloading %B$file%b" \
curl -fsSL -o ~/Library/Fonts/$file "$font_base_url/${file// /%20}" curl -fsSL -o ~/Library/Fonts/$file.tmp "$font_base_url/${file// /%20}"
zf_mv -f -- ~/Library/Fonts/$file{.tmp,} || quit -c
done done
print -nP -- "Changing %BiTerm2%b settings ..." print -nP -- "Changing %BiTerm2%b settings ..."
local k t v settings=( local k t v settings=(

Loading…
Cancel
Save