diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-25 11:27:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-25 11:27:26 +0800 |
commit | a205875bdc46b83b29ea3d52f371fa0ac1f73252 (patch) | |
tree | bf0210a450514c3c520fc27f3a966a0c14e0a800 /bin/init/sync.sh | |
parent | 3366366bf61dd819c874be78ae873a5d6e0e99d2 (diff) |
Update
Diffstat (limited to 'bin/init/sync.sh')
-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 |