diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-31 11:51:00 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-31 11:51:00 +0800 |
commit | f23176a99b71d5ba96fed72b9152280b7b2021d3 (patch) | |
tree | 149948f785f1cfd9798b4e88037f0fd0b15066e3 /tools | |
parent | bd181336587e55a58550bb9305cbe862e8f83e96 (diff) |
update
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/init/sync.sh | 11 |
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 |
4 | sync() { | 4 | sync() { |
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 | } |
8 | sync $SETTING_DIR | 8 | sync $SETTING_DIR |
9 | sync ~/vimwiki | 9 | sync ~/vimwiki |
@@ -11,5 +11,10 @@ sync ~/.task | |||
11 | sync ~/.password-store | 11 | sync ~/.password-store |
12 | 12 | ||
13 | # others repo | 13 | # others repo |
14 | check_upstream ~/git/tig || echo in `pwd` > /dev/tty & | 14 | check_upstream ~/git/tig || echo in `pwd` >/dev/tty & |
15 | check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & | 15 | check_upstream ~/.vim_runtime || echo in `pwd` >/dev/tty & |
16 | |||
17 | # rsync | ||
18 | if [[ `cat /etc/hostname` != 'vultr' ]]; then | ||
19 | rsync -a pham@topo.tw:~/.thunderbird ~/.thunderbird & | ||
20 | fi | ||