diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-10-06 14:56:04 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-10-06 14:56:04 +0800 |
| commit | 55a8828ce7ba6255c29fbc6568ae96e9412d0c98 (patch) | |
| tree | d7610bb8b0d4f847aa704bffd148884cfef37265 | |
| parent | 4aa91c532bfed6642d28444203ca0794a8cf9a13 (diff) | |
update
| -rw-r--r-- | taskrc | 5 | ||||
| -rwxr-xr-x | tools/init/sync.sh | 4 |
2 files changed, 8 insertions, 1 deletions
| @@ -30,7 +30,7 @@ include /usr/share/doc/task/rc/dark-256.theme | |||
| 30 | #include /usr/share/doc/task/rc/no-color.theme | 30 | #include /usr/share/doc/task/rc/no-color.theme |
| 31 | 31 | ||
| 32 | dateformat=b.d | 32 | dateformat=b.d |
| 33 | report.list.filter=status:pending -trivial | 33 | report.list.filter=status:pending |
| 34 | search.case.sensitive=no | 34 | search.case.sensitive=no |
| 35 | default.command=next | 35 | default.command=next |
| 36 | 36 | ||
| @@ -46,3 +46,6 @@ report.nchc.filter=project:geothings.graphql.nchc-report | |||
| 46 | report.nchc.labels=ID,Desc | 46 | report.nchc.labels=ID,Desc |
| 47 | report.nchc.columns=id,description.count | 47 | report.nchc.columns=id,description.count |
| 48 | report.nchc.sort=entry+ | 48 | report.nchc.sort=entry+ |
| 49 | context.work=+geothings | ||
| 50 | context.free=+trivial | ||
| 51 | context.none=-trivial | ||
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index 81b95ab..11fb7df 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | 2 | ||
| 3 | # my repo | 3 | # my repo |
| 4 | sync() { | ||
| 5 | [ ! -d $1 ] && return | ||
| 6 | cd $1 && git pull --quiet || echo in `pwd` > /dev/tty & | ||
| 7 | } | ||
| 4 | sync $SETTING_DIR | 8 | sync $SETTING_DIR |
| 5 | sync ~/vimwiki | 9 | sync ~/vimwiki |
| 6 | sync ~/.task | 10 | sync ~/.task |