From f23176a99b71d5ba96fed72b9152280b7b2021d3 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 31 Mar 2021 11:51:00 +0800 Subject: update --- tools/init/sync.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tools') 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 @@ # my repo sync() { [ ! -d $1 ] && return - cd $1 && git pull --quiet || echo in `pwd` > /dev/tty & + cd $1 && git pull --quiet || echo in `pwd` >/dev/tty & } sync $SETTING_DIR sync ~/vimwiki @@ -11,5 +11,10 @@ sync ~/.task sync ~/.password-store # others repo -check_upstream ~/git/tig || echo in `pwd` > /dev/tty & -check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & +check_upstream ~/git/tig || echo in `pwd` >/dev/tty & +check_upstream ~/.vim_runtime || echo in `pwd` >/dev/tty & + +# rsync +if [[ `cat /etc/hostname` != 'vultr' ]]; then + rsync -a pham@topo.tw:~/.thunderbird ~/.thunderbird & +fi -- cgit v1.2.3-70-g09d2