mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:00: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 {{{
|
||||||
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"
|
path="$HOME/.local/share/fonts/$1"
|
||||||
if [[ -f "$path" && ! -s "$path" ]]
|
if [[ -f "$path" && ! -s "$path" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user