diff --git a/internal/wizard.zsh b/internal/wizard.zsh index c7a03844..2ae8d41b 100644 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -518,6 +518,13 @@ function install_font() { local style for style in Regular Bold Italic 'Bold Italic'; do local file="MesloLGS NF ${style}.ttf" + + print "$file ==Ready to download==" + if [[ -f ~"/Library/Fonts/$file" ]]; then + print "$file ==Already exist==" + continue + fi + run_command "Downloading %B$file%b" \ curl -fsSL -o ~/Library/Fonts/$file.tmp "$font_base_url/${file// /%20}" command mv -f -- ~/Library/Fonts/$file{.tmp,} || quit -c