diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-29 15:30:57 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-29 15:30:57 +0800 |
commit | bd42e34c4055bc025844289efbad722372d8da9b (patch) | |
tree | 61d2ba387507e4a5ca8e7046089e175b5bb0ea2a /tools/init | |
parent | 3119a91f576b5bd080b70aa4de89f0e9ae5e48b3 (diff) |
Update
Diffstat (limited to 'tools/init')
-rwxr-xr-x | tools/init/sync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index c2d40bd..ddf0740 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
@@ -8,12 +8,12 @@ sync() { | |||
8 | { | 8 | { |
9 | cd $1 && [[ -n `git remote -v` ]] || return | 9 | cd $1 && [[ -n `git remote -v` ]] || return |
10 | } 2>/dev/null | 10 | } 2>/dev/null |
11 | GIT_SSH_COMMAND="ssh -o ControlMaster=no" git pull --quiet || echo Has trouble when syncing `pwd` >/dev/tty | 11 | GIT_SSH_COMMAND="ssh -o ControlMaster=no" git pull --quiet || echo Has trouble when syncing `pwd` |
12 | } | 12 | } |
13 | sync $SETTING_DIR & | 13 | sync $SETTING_DIR & |
14 | sync ~/log & | ||
14 | sync ~/blog & | 15 | sync ~/blog & |
15 | sync ~/git/vps & | 16 | sync ~/git/vps & |
16 | sync ~/vimwiki & | ||
17 | sync ~/.task & | 17 | sync ~/.task & |
18 | sync ~/.password-store & | 18 | sync ~/.password-store & |
19 | sync ~/.vim_runtime & | 19 | sync ~/.vim_runtime & |