mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:20:05 +08:00
Fixes #85
This commit is contained in:
parent
6603cf1986
commit
370adead87
@ -17,7 +17,7 @@ need_cmd () {
|
||||
|
||||
fetch_repo () {
|
||||
if [[ -d "$HOME/.SpaceVim" ]]; then
|
||||
git -C "$HOME/.SpaceVim" pull
|
||||
git --git-dir "$HOME/.SpaceVim/.git" pull
|
||||
echo -e "${Blue}Successfully update SpaceVim${Color_off}"
|
||||
else
|
||||
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
||||
|
Loading…
Reference in New Issue
Block a user