aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-03-31 11:51:00 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-03-31 11:51:00 +0800
commitf23176a99b71d5ba96fed72b9152280b7b2021d3 (patch)
tree149948f785f1cfd9798b4e88037f0fd0b15066e3 /tools
parentbd181336587e55a58550bb9305cbe862e8f83e96 (diff)
update
Diffstat (limited to 'tools')
-rwxr-xr-xtools/init/sync.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index 50cfdf9..58469c4 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -3,7 +3,7 @@
3# my repo 3# my repo
4sync() { 4sync() {
5 [ ! -d $1 ] && return 5 [ ! -d $1 ] && return
6 cd $1 && git pull --quiet || echo in `pwd` > /dev/tty & 6 cd $1 && git pull --quiet || echo in `pwd` >/dev/tty &
7} 7}
8sync $SETTING_DIR 8sync $SETTING_DIR
9sync ~/vimwiki 9sync ~/vimwiki
@@ -11,5 +11,10 @@ sync ~/.task
11sync ~/.password-store 11sync ~/.password-store
12 12
13# others repo 13# others repo
14check_upstream ~/git/tig || echo in `pwd` > /dev/tty & 14check_upstream ~/git/tig || echo in `pwd` >/dev/tty &
15check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & 15check_upstream ~/.vim_runtime || echo in `pwd` >/dev/tty &
16
17# rsync
18if [[ `cat /etc/hostname` != 'vultr' ]]; then
19 rsync -a pham@topo.tw:~/.thunderbird ~/.thunderbird &
20fi