aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/init
diff options
context:
space:
mode:
Diffstat (limited to 'bin/init')
-rwxr-xr-xbin/init/sync.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/bin/init/sync.sh b/bin/init/sync.sh
index bcd7bed..ffd91c0 100755
--- a/bin/init/sync.sh
+++ b/bin/init/sync.sh
@@ -10,14 +10,10 @@ sync() {
10 } 2>/dev/null 10 } 2>/dev/null
11 GIT_SSH_COMMAND="ssh -o ControlMaster=no" git pull --quiet || echo Has trouble when syncing `pwd` 11 GIT_SSH_COMMAND="ssh -o ControlMaster=no" git pull --quiet || echo Has trouble when syncing `pwd`
12} 12}
13sync $SETTING_DIR & 13
14sync ~/log & 14while read repo; do
15sync ~/blog & 15 sync $repo &
16sync ~/git/vps & 16done <~/.repos
17sync ~/.task &
18sync ~/.password-store &
19sync ~/.vim/vim-init &
20sync ~/bean &
21 17
22while true; do 18while true; do
23 if test $(jobs -r | wc -l) -gt 0; then 19 if test $(jobs -r | wc -l) -gt 0; then