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