From 55a8828ce7ba6255c29fbc6568ae96e9412d0c98 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 6 Oct 2020 14:56:04 +0800 Subject: update --- taskrc | 5 ++++- tools/init/sync.sh | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/taskrc b/taskrc index cfbb9a0..125aace 100644 --- a/taskrc +++ b/taskrc @@ -30,7 +30,7 @@ include /usr/share/doc/task/rc/dark-256.theme #include /usr/share/doc/task/rc/no-color.theme dateformat=b.d -report.list.filter=status:pending -trivial +report.list.filter=status:pending search.case.sensitive=no default.command=next @@ -46,3 +46,6 @@ report.nchc.filter=project:geothings.graphql.nchc-report report.nchc.labels=ID,Desc report.nchc.columns=id,description.count report.nchc.sort=entry+ +context.work=+geothings +context.free=+trivial +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 @@ #!/bin/bash # my repo +sync() { + [ ! -d $1 ] && return + cd $1 && git pull --quiet || echo in `pwd` > /dev/tty & +} sync $SETTING_DIR sync ~/vimwiki sync ~/.task -- cgit v1.2.3-70-g09d2