aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/setup.sh b/setup.sh
index 44cf17e..f7e069d 100755
--- a/setup.sh
+++ b/setup.sh
@@ -5,13 +5,14 @@ WD="$(pwd)"
clone() {
printf "Working dir: %s
" $DIR
- if [ -d "$DIR" ] ; then
+ if [ -d "$DIR/.git" ] ; then
cd $DIR
git pull --ff-only origin master
- elif ! [ -d "$DIR" ] ; then
+ elif ! [ -d "$DIR/.git" ] ; then
mkdir -p "$DIR"
cd "$DIR"
- git clone --depth=1 "$URL" .
+ git clone --depth=1 "$URL" . ||
+ git clone "$URL"
fi
cd $WD
printf ""
@@ -44,13 +45,13 @@ DIR="pack/plugins/start/dracula"
URL="https://github.com/dracula/vim.git"
clone
DIR="pack/plugins/start/l9"
-URL="git:~/vim/vim-l9.git"
+URL="https://git.riedstra.us/vim/vim-l9.git"
clone
DIR="pack/plugins/start/vim-autocomplpop"
-URL="git:~/vim/vim-autocomplpop.git"
+URL="https://git.riedstra.us/vim/vim-autocomplpop.git"
clone
DIR="pack/themes/start/mitch"
-URL="git@rygel.us:~/vim/mitch.git"
+URL="https://git.riedstra.us/vim/mitch.git"
clone
DIR="pack/themes/start/solarized"
URL="https://github.com/altercation/vim-colors-solarized"
@@ -64,3 +65,6 @@ clone
DIR="pack/themes/start/gruvbox"
URL="https://github.com/morhetz/gruvbox"
clone
+DIR="pack/themes/start/base16-black-metal"
+URL="https://github.com/metalelf0/base16-black-metal-scheme.git"
+clone