From 73e2aa4cee08900882d77cb94a74c338aa9740f2 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 12 Apr 2023 11:49:55 +0800 Subject: Update --- bin/task/context | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/task/context') diff --git a/bin/task/context b/bin/task/context index c8e3f7a..fd10baf 100755 --- a/bin/task/context +++ b/bin/task/context @@ -7,10 +7,11 @@ # # TODO support minus time -LOG_FILE=~/log/.context && touch $LOG_FILE +LOG_FILE=~/.context && touch $LOG_FILE PLAN_FILE=~/log/plan.context.md PROC=$$ trap 'exit 1' SIGUSR1 +trap 'rsync_retry $0' EXIT context="$(cat ~/.task/context)" [[ "$*" =~ '-s' ]] && SET=true && shift -- cgit v1.2.3-70-g09d2