aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-04-20 11:20:03 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-04-20 11:20:03 +0800
commit1c7c101f71628a129f160c0e69d44eb7ebc4dd5a (patch)
treeaad5009cc994b2ef74676b87a250be08e2a85397
parentcdf13fe5f2998f561cb424e1153557229f55330d (diff)
Update
-rwxr-xr-xtools/init/sync.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index 6dd57ba..c65f720 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -19,7 +19,9 @@ while [ $(jobs -r | wc -l) -gt 0 ]; do
19 sleep 1; 19 sleep 1;
20done 20done
21 21
22notify-send 'Repos synced' 22if which notify-send &>/dev/null; then
23 notify-send 'Repos synced'
24fi
23 25
24# others repo 26# others repo
25#check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 27#check_upstream ~/git/tig || echo in `pwd` >/dev/tty &