diff options
| author | typebrook <typebrook@gmail.com> | 2020-03-05 21:06:33 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-03-05 21:06:33 +0800 |
| commit | e7598928bac80354cd2dcaca25f7849cb1e6b21c (patch) | |
| tree | 716a01569062e01db61a6285c58936e674f4b2a5 | |
| parent | e87b835f7892215e1a5a797353be3bfdfc296c09 (diff) | |
update
| -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 & |