diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-23 10:35:34 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-23 10:35:34 +0800 |
commit | 943259404bfd39965c42f2a22a2c0beac479062f (patch) | |
tree | 71f0630f5030937f05464addc6310e9101de4e15 /bin/task | |
parent | 02dfc54d93125486f811c371e317401757c02458 (diff) |
Update
Diffstat (limited to 'bin/task')
-rw-r--r-- | bin/task/shellrc | 1 |
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 |
2 | tk() { task rc.context=`cat ~/.task/context` $@; } | 2 | tk() { task rc.context=`cat ~/.task/context` $@; } |
3 | tkc(){ echo $1 >~/.task/context; } | 3 | tkc(){ echo $1 >~/.task/context; } |
4 | alias tkcc='task context' | ||
4 | tkcn() { echo none >~/.task/context; } | 5 | tkcn() { echo none >~/.task/context; } |
5 | tkch() { echo home >~/.task/context; } | 6 | tkch() { echo home >~/.task/context; } |
6 | [ "$shell" = zsh ] && compdef tk=task | 7 | [ "$shell" = zsh ] && compdef tk=task |