diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-10-15 20:31:45 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-10-15 20:31:45 -0400 |
| commit | 1f4a494606e81ed8ce6173e1f86aeb1ffe0285f8 (patch) | |
| tree | 3bd9bf0f048163cbdd5d03c6f0b2fee4d9e764fb /setup.sh | |
| parent | 709accc8e4f6dc3c21fc9b55e9fcc31559c68472 (diff) | |
| download | vim-cfg-1f4a494606e81ed8ce6173e1f86aeb1ffe0285f8.tar.gz vim-cfg-1f4a494606e81ed8ce6173e1f86aeb1ffe0285f8.tar.xz | |
Fix up the setup script
Diffstat (limited to 'setup.sh')
| -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 |
