diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/sync.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/sync.sh b/tools/sync.sh index 1c33138..00ed4b8 100755 --- a/tools/sync.sh +++ b/tools/sync.sh | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | 2 | ||
| 3 | # my repo | ||
| 3 | cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & | 4 | cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & |
| 4 | cd ~/vimwiki && 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 | ||
| 5 | check_upstream ~/git/tig || echo in `pwd` > /dev/tty & | 10 | check_upstream ~/git/tig || echo in `pwd` > /dev/tty & |
| 6 | check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & | 11 | check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & |