aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/init/sync.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index c65f720..349ca77 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -15,13 +15,14 @@ sync ~/.task &
15sync ~/.password-store & 15sync ~/.password-store &
16sync ~/.vim_runtime & 16sync ~/.vim_runtime &
17 17
18while [ $(jobs -r | wc -l) -gt 0 ]; do 18while true; do
19 sleep 1; 19 if test $(jobs -r | wc -l) -gt 0; then
20done 20 sleep 1;
21 21 else
22if which notify-send &>/dev/null; then 22 which notify-send &>/dev/null && notify-send 'Repos synced'
23 notify-send 'Repos synced' 23 break
24fi 24 fi
25done &
25 26
26# others repo 27# others repo
27#check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 28#check_upstream ~/git/tig || echo in `pwd` >/dev/tty &