mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:20:05 +08:00
chore(install): switch to gitlab
This commit is contained in:
parent
7cceee2793
commit
f7ebfb455e
@ -138,7 +138,7 @@ fetch_repo () {
|
||||
success "SpaceVim 更新已完成"
|
||||
else
|
||||
info "正在安装 SpaceVim..."
|
||||
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
||||
git clone https://gitlab.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
||||
success "SpaceVim 安装已完成"
|
||||
fi
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ fetch_repo () {
|
||||
success "Successfully update SpaceVim"
|
||||
else
|
||||
info "Trying to clone SpaceVim"
|
||||
git clone https://github.com/SpaceVim/SpaceVim.git "${XDGSpaceDir:-}"
|
||||
git clone https://gitlab.com/SpaceVim/SpaceVim.git "${XDGSpaceDir:-}"
|
||||
if [ $? -eq 0 ]; then
|
||||
success "Successfully clone SpaceVim"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user