aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 &