From 1b5b5344a615c7779a2833fb062dac8f33cee397 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 17 Apr 2019 21:04:26 +0800 Subject: update --- Makefile | 3 +++ script/sync.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 script/sync.sh diff --git a/Makefile b/Makefile index 32cd992..c04de99 100644 --- a/Makefile +++ b/Makefile @@ -37,3 +37,6 @@ push: crontab: (crontab -l 2>/dev/null; cat script/*.cron) | crontab - + +bashrc: + echo "sh ~/settings/script/sync.sh" >> ~/.bashrc diff --git a/script/sync.sh b/script/sync.sh new file mode 100644 index 0000000..64f6a65 --- /dev/null +++ b/script/sync.sh @@ -0,0 +1,2 @@ +cd ~/git/settings && git pull --quiet & +cd ~/vimwiki && git pull --quiet & -- cgit v1.2.3-70-g09d2