aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/task
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-23 10:35:34 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-23 10:35:34 +0800
commit943259404bfd39965c42f2a22a2c0beac479062f (patch)
tree71f0630f5030937f05464addc6310e9101de4e15 /bin/task
parent02dfc54d93125486f811c371e317401757c02458 (diff)
Update
Diffstat (limited to 'bin/task')
-rw-r--r--bin/task/shellrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/task/shellrc b/bin/task/shellrc
index a7025d0..9a14248 100644
--- a/bin/task/shellrc
+++ b/bin/task/shellrc
@@ -1,6 +1,7 @@
1# task 1# task
2tk() { task rc.context=`cat ~/.task/context` $@; } 2tk() { task rc.context=`cat ~/.task/context` $@; }
3tkc(){ echo $1 >~/.task/context; } 3tkc(){ echo $1 >~/.task/context; }
4alias tkcc='task context'
4tkcn() { echo none >~/.task/context; } 5tkcn() { echo none >~/.task/context; }
5tkch() { echo home >~/.task/context; } 6tkch() { echo home >~/.task/context; }
6[ "$shell" = zsh ] && compdef tk=task 7[ "$shell" = zsh ] && compdef tk=task