aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/task/context
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-04-14 10:07:39 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-04-14 10:07:39 +0800
commitbca6ed08439a6b106b21bc37634b75a9fe6ab9cb (patch)
treed9cc762b36b761c0a59d4cc62905c9dd352fe463 /bin/task/context
parent00d2bfc1d73bc9526b23d7c95c8331dbf9528dbd (diff)
tkc -> context
Diffstat (limited to 'bin/task/context')
-rwxr-xr-xbin/task/context4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/task/context b/bin/task/context
index 06848d6..639f54a 100755
--- a/bin/task/context
+++ b/bin/task/context
@@ -16,6 +16,10 @@ PROC=$$
16 16
17context="$(cat ~/.task/context)" 17context="$(cat ~/.task/context)"
18[[ "$*" =~ '-s' ]] && SET=true && shift 18[[ "$*" =~ '-s' ]] && SET=true && shift
19[[ "$1" =~ ^[a-zA-Z] ]] && {
20 echo "$1" > ~/.task/context
21 exit 0
22}
19time="$1" 23time="$1"
20 24
21# The unit of time display. For example: 25# The unit of time display. For example: