aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/init/sync.sh
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-10-03 16:35:24 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-10-03 16:35:24 +0800
commita8ab0f35046220a1051a3fb94b1719dc1e62c8f7 (patch)
tree3e360365496add92ead3b301d4316e009c4bb947 /tools/init/sync.sh
parent45ff13f48cfa541dfe7e810d7ae5533eb299d866 (diff)
update
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-xtools/init/sync.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index 54e64d6..81b95ab 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -1,12 +1,10 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# my repo 3# my repo
4cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & 4sync $SETTING_DIR
5if [ -d ~/vimwiki ]; then 5sync ~/vimwiki
6 cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty & 6sync ~/.task
7fi
8 7
9# others repo 8# others repo
10check_upstream ~/git/tig || echo in `pwd` > /dev/tty & 9check_upstream ~/git/tig || echo in `pwd` > /dev/tty &
11check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & 10check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty &
12check_upstream ~/.task || echo in `pwd` > /dev/tty &