From 021d2df326adba6fe9c028d65d1445a28753773e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 8 Sep 2020 11:18:49 +0800 Subject: update --- tools/init/sync.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/init/sync.sh (limited to 'tools/init/sync.sh') diff --git a/tools/init/sync.sh b/tools/init/sync.sh new file mode 100755 index 0000000..00ed4b8 --- /dev/null +++ b/tools/init/sync.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# my repo +cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & +if [ -d ~/vimwiki ]; then + cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty & +fi + +# others repo +check_upstream ~/git/tig || echo in `pwd` > /dev/tty & +check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & -- cgit v1.2.3-70-g09d2