1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:40:06 +08:00

fix(font): change download font url

Old link redirects to raw.githubusercontent.com.
This commit is contained in:
Vladislav Sharapov 2022-11-29 14:58:39 +04:00 committed by GitHub
parent 1f907973b8
commit 9cc4d926a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,7 +333,7 @@ welcome () {
# download_font {{{
download_font () {
url="https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/SourceCodePro/Regular/complete/${1// /%20}"
url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/SourceCodePro/Regular/complete/${1// /%20}"
path="$HOME/.local/share/fonts/$1"
if [[ -f "$path" && ! -s "$path" ]]
then