aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/init/load-settings.sh2
-rwxr-xr-xtools/init/sync.sh16
2 files changed, 9 insertions, 9 deletions
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh
index d45a1c0..8ebd958 100755
--- a/tools/init/load-settings.sh
+++ b/tools/init/load-settings.sh
@@ -37,7 +37,7 @@ xargs realpath | xargs -I{} ln -sf {} $BIN_DIR
37MAIL=$HOME/Maildir 37MAIL=$HOME/Maildir
38 38
39# sync with important git repos 39# sync with important git repos
40sync.sh 40(sync.sh &)
41 41
42# local 42# local
43PATH=$PATH:$HOME/.local/bin 43PATH=$PATH:$HOME/.local/bin
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index ebed33a..15663f0 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -5,15 +5,15 @@
5 5
6# my repo 6# my repo
7sync() { 7sync() {
8 { cd $1 && [[ -n $(git remote -v) ]] || return ; } 2>/dev/null 8 { cd $1 && [[ -n $(git remote -v) ]] || return; } 2>/dev/null
9 git pull --quiet || echo in `pwd` >/dev/tty & 9 git pull --quiet || echo in `pwd` >/dev/tty
10} 10}
11sync $SETTING_DIR 11sync $SETTING_DIR &
12sync ~/blog 12sync ~/blog &
13sync ~/vimwiki 13sync ~/vimwiki &
14sync ~/.task 14sync ~/.task &
15sync ~/.password-store 15sync ~/.password-store &
16sync ~/.vim_runtime 16sync ~/.vim_runtime &
17 17
18# others repo 18# others repo
19#check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 19#check_upstream ~/git/tig || echo in `pwd` >/dev/tty &