aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbin/task/context1
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 "/"