diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-11 19:23:44 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-11 19:23:44 +0800 |
commit | 164c161a97d985270ac2dbed51cea4624a272d25 (patch) | |
tree | c8203687372fe2e8c895ad3614c96260526f026f /bin/task/context | |
parent | 9674fc1c8186a028391daaabfe3c5d738651a8d1 (diff) |
Update
Diffstat (limited to 'bin/task/context')
-rwxr-xr-x | bin/task/context | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/task/context b/bin/task/context index 6642699..89773b5 100755 --- a/bin/task/context +++ b/bin/task/context | |||
@@ -79,6 +79,7 @@ _print_spend_time() { | |||
79 | sec=${SPEND[$ctx]}; sec=${sec:-0} | 79 | sec=${SPEND[$ctx]}; sec=${sec:-0} |
80 | 80 | ||
81 | # Print context and time I spend | 81 | # Print context and time I spend |
82 | [ "$context" = "$ctx" ] && echo -ne '\e[33;1m' | ||
82 | echo -ne "$ctx\t\t" | 83 | echo -ne "$ctx\t\t" |
83 | date -u -d @"$sec" +%H:%M | tr -d '\n' | 84 | date -u -d @"$sec" +%H:%M | tr -d '\n' |
84 | echo -n "/" | 85 | echo -n "/" |