summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-17 21:04:26 +0800
committertypebrook <typebrook@gmail.com>2019-04-17 21:04:26 +0800
commit1b5b5344a615c7779a2833fb062dac8f33cee397 (patch)
treefe8ac586b9d7304b15ac40e5a005ccc8dbdb082a
parentc815fac32b0d6cf5fe5f60d9f17bb9c648b5d6cf (diff)
update
-rw-r--r--Makefile3
-rw-r--r--script/sync.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32cd992..c04de99 100644
--- a/Makefile
+++ b/Makefile
@@ -37,3 +37,6 @@ push:
37 37
38crontab: 38crontab:
39 (crontab -l 2>/dev/null; cat script/*.cron) | crontab - 39 (crontab -l 2>/dev/null; cat script/*.cron) | crontab -
40
41bashrc:
42 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 @@
1cd ~/git/settings && git pull --quiet &
2cd ~/vimwiki && git pull --quiet &