diff options
| -rwxr-xr-x | setup.sh | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -5,13 +5,14 @@ WD="$(pwd)" clone() { printf "[0mWorking dir: [1;34m%s[0;33m " $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 "[0m" @@ -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 |
