diff options
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 | ||