diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | script/sync.sh | 2 |
2 files changed, 5 insertions, 0 deletions
| @@ -37,3 +37,6 @@ push: | |||
| 37 | 37 | ||
| 38 | crontab: | 38 | crontab: |
| 39 | (crontab -l 2>/dev/null; cat script/*.cron) | crontab - | 39 | (crontab -l 2>/dev/null; cat script/*.cron) | crontab - |
| 40 | |||
| 41 | bashrc: | ||
| 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 @@ | |||
| 1 | cd ~/git/settings && git pull --quiet & | ||
| 2 | cd ~/vimwiki && git pull --quiet & | ||