From 28cebbd42ad61dbf1fff1610c5c8c9b86c9354d2 Mon Sep 17 00:00:00 2001 From: Igor V Belousov Date: Thu, 3 Sep 2020 14:45:31 +0000 Subject: [PATCH] update script --- update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..d4c88fd --- /dev/null +++ b/update.sh @@ -0,0 +1,9 @@ +#/bin/bash +cd ~ +cd .vim +if [ $(git ls-remote https://mygit.i2g.ru/biv/vimconf.git master 2>/dev/null|awk '{print $1}') != $(git rev-parse HEAD) ] + then + git pull + vim +PluginInstall +PluginClean! +qall +fi +