diff options
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-x | tools/init/sync.sh | 11 |
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 | ||
4 | cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & | ||
5 | if [ -d ~/vimwiki ]; then | ||
6 | cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty & | ||
7 | fi | ||
8 | |||
9 | # others repo | ||
10 | check_upstream ~/git/tig || echo in `pwd` > /dev/tty & | ||
11 | check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & | ||