From 561611510cb761e4cd8444fed4c9868e6d37a157 Mon Sep 17 00:00:00 2001 From: Tingfeng Date: Wed, 22 Jun 2022 21:31:22 +0800 Subject: [PATCH] update_plugins.py --- README.md | 2 +- install_awesome_parameterized.sh | 1 + install_awesome_vimrc.sh | 1 + install_basic_vimrc.sh | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b817e06..8979523d 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Just do a git rebase! ```sh cd ~/.vim_runtime git pull --rebase -python update_plugins.py # use python3 if python is unavailable +python update_plugins.py || python3 update_plugins.py # use python3 if python is unavailable ``` ## Some screenshots diff --git a/install_awesome_parameterized.sh b/install_awesome_parameterized.sh index 1ca2ba5f..6649407a 100755 --- a/install_awesome_parameterized.sh +++ b/install_awesome_parameterized.sh @@ -3,6 +3,7 @@ set -e echo 'Installing Awesome Vim from '$1 cd $1 +python update_plugins.py || python3 update_plugins.py VIMRC="\" DO NOT EDIT THIS FILE \" Add your own customizations in $1/my_configs.vim diff --git a/install_awesome_vimrc.sh b/install_awesome_vimrc.sh index 29466977..486e3387 100755 --- a/install_awesome_vimrc.sh +++ b/install_awesome_vimrc.sh @@ -17,4 +17,5 @@ try catch endtry' > ~/.vimrc +python update_plugins.py || python3 update_plugins.py echo "Installed the Ultimate Vim configuration successfully! Enjoy :-)" diff --git a/install_basic_vimrc.sh b/install_basic_vimrc.sh index 6b3142d1..3a34588b 100755 --- a/install_basic_vimrc.sh +++ b/install_basic_vimrc.sh @@ -3,4 +3,5 @@ set -e cd ~/.vim_runtime cat ~/.vim_runtime/vimrcs/basic.vim > ~/.vimrc +python update_plugins.py || python3 update_plugins.py echo "Installed the Basic Vim configuration successfully! Enjoy :-)"