aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/init/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-xtools/init/sync.sh16
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
7sync() { 7sync() {
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}
11sync $SETTING_DIR 11sync $SETTING_DIR &
12sync ~/blog 12sync ~/blog &
13sync ~/vimwiki 13sync ~/vimwiki &
14sync ~/.task 14sync ~/.task &
15sync ~/.password-store 15sync ~/.password-store &
16sync ~/.vim_runtime 16sync ~/.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 &