diff options
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-x | tools/init/sync.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index ebed33a..15663f0 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
@@ -5,15 +5,15 @@ | |||
5 | 5 | ||
6 | # my repo | 6 | # my repo |
7 | sync() { | 7 | sync() { |
8 | { cd $1 && [[ -n $(git remote -v) ]] || return ; } 2>/dev/null | 8 | { cd $1 && [[ -n $(git remote -v) ]] || return; } 2>/dev/null |
9 | git pull --quiet || echo in `pwd` >/dev/tty & | 9 | git pull --quiet || echo in `pwd` >/dev/tty |
10 | } | 10 | } |
11 | sync $SETTING_DIR | 11 | sync $SETTING_DIR & |
12 | sync ~/blog | 12 | sync ~/blog & |
13 | sync ~/vimwiki | 13 | sync ~/vimwiki & |
14 | sync ~/.task | 14 | sync ~/.task & |
15 | sync ~/.password-store | 15 | sync ~/.password-store & |
16 | sync ~/.vim_runtime | 16 | sync ~/.vim_runtime & |
17 | 17 | ||
18 | # others repo | 18 | # others repo |
19 | #check_upstream ~/git/tig || echo in `pwd` >/dev/tty & | 19 | #check_upstream ~/git/tig || echo in `pwd` >/dev/tty & |