aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/init/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-xtools/init/sync.sh11
1 files changed, 11 insertions, 0 deletions
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 @@
1#!/bin/bash
2
3# my repo
4cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty &
5if [ -d ~/vimwiki ]; then
6 cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty &
7fi
8
9# others repo
10check_upstream ~/git/tig || echo in `pwd` > /dev/tty &
11check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty &