diff options
| author | typebrook <typebrook@gmail.com> | 2019-04-17 21:04:26 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-04-17 21:04:26 +0800 |
| commit | 1b5b5344a615c7779a2833fb062dac8f33cee397 (patch) | |
| tree | fe8ac586b9d7304b15ac40e5a005ccc8dbdb082a | |
| parent | c815fac32b0d6cf5fe5f60d9f17bb9c648b5d6cf (diff) | |
update
| -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 & | ||