Skip to content

Commit

Permalink
try to fix font instllation problems on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Feb 26, 2020
1 parent ff496ab commit ffbf869
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/wizard.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ function install_font() {
for style in Regular Bold Italic 'Bold Italic'; do
local file="MesloLGS NF ${style}.ttf"
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
print -nP -- "Changing %BiTerm2%b settings ..."
local k t v settings=(
Expand Down

0 comments on commit ffbf869

Please sign in to comment.