From 123a6c544e87c4475dcb5676ef2aae231a597e01 Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 7 Feb 2020 09:23:54 +0800 Subject: update --- scripts/sync.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/sync.sh b/scripts/sync.sh index d92dbbd..1c33138 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -1,6 +1,6 @@ #!/bin/bash -cd $SETTING_DIR && git pull --quiet || echo in $SETTING_DIR > /dev/tty & -cd ~/vimwiki && git pull --quiet || echo in ~/vimwiki > /dev/tty & -check_upstream ~/git/tig || echo in ~/git/tig > /dev/tty & -check_upstream ~/.vim_runtime || echo in ~/.vim_runtime > /dev/tty & +cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & +cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty & +check_upstream ~/git/tig || echo in `pwd` > /dev/tty & +check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty & -- cgit v1.2.3-70-g09d2