commit 39768c9488b459b30708b1d539535cdfa51e567e
parent 4ed5b15b204d52f0c890a5f691b69213857c0cca
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 29 Sep 2017 07:02:16 -0700
do not fetch vim plugins if they already exist
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/init/50_vim.sh b/init/50_vim.sh
@@ -1,8 +1,11 @@
#!/usr/bin/env bash
# Install vim-plug
+[ ! -e ~/.vim/autoload/plug.vim ] && \
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+
+[ ! -e ~/.local/share/nvim/site/autoload/plug.vim ] && \
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim