diff options
Diffstat (limited to 'bin/init')
| -rwxr-xr-x | bin/init/sync.sh | 12 |
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 | } |
| 13 | sync $SETTING_DIR & | 13 | |
| 14 | sync ~/log & | 14 | while read repo; do |
| 15 | sync ~/blog & | 15 | sync $repo & |
| 16 | sync ~/git/vps & | 16 | done <~/.repos |
| 17 | sync ~/.task & | ||
| 18 | sync ~/.password-store & | ||
| 19 | sync ~/.vim/vim-init & | ||
| 20 | sync ~/bean & | ||
| 21 | 17 | ||
| 22 | while true; do | 18 | while true; do |
| 23 | if test $(jobs -r | wc -l) -gt 0; then | 19 | if test $(jobs -r | wc -l) -gt 0; then |