Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dheison0 committed Aug 8, 2023
1 parent c1b377a commit 2bf4c77
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Installation script of amazing-vimrc(Dheisom's version)
# Installation script of amazing-vimrc(Dheison's version)

declare -A DEPENDENCIES=()
DEPENDENCIES['curl']="curl"
Expand Down Expand Up @@ -42,11 +42,14 @@ if [ -d "${HOME}/.config/nvim" ]; then
git pull
else
log "INFO" "Installing for user $(whoami)..."
git clone --depth=1 https://github.com/dheisom/amazing-vimrc ~/.config/nvim
git clone \
--depth=1 \
--single-branch \
https://github.com/dheison0/amazing-vimrc \
~/.config/nvim
if [ $? != 0 ]; then
log "ERROR" "Failed to clone GitHub repository, try again if you want this."
exit 2
else
log "INFO" "Installed with success!"
fi
log "INFO" "Installed with success!"
fi

0 comments on commit 2bf4c77

Please sign in to comment.