mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:30:04 +08:00
fix(font): change download font url
Old link redirects to raw.githubusercontent.com.
This commit is contained in:
parent
1f907973b8
commit
9cc4d926a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user