diff options
Diffstat (limited to 'bin/task')
-rw-r--r-- | bin/task/shellrc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/task/shellrc b/bin/task/shellrc new file mode 100644 index 0000000..6f2e5d3 --- /dev/null +++ b/bin/task/shellrc | |||
@@ -0,0 +1,17 @@ | |||
1 | # task | ||
2 | tk() { task rc.context=`cat ~/.task/context` $@; } | ||
3 | tkc(){ echo $1 >~/.task/context; } | ||
4 | tkcn() { echo none >~/.task/context; } | ||
5 | tkch() { echo home >~/.task/context; } | ||
6 | [ $shell = zsh ] && compdef tk=task | ||
7 | alias tka='tk annotate' | ||
8 | alias tkd='tk done' | ||
9 | alias tkD='tk delete' | ||
10 | alias tkm='tk modify' | ||
11 | alias tkn='tk next' | ||
12 | alias tk10='tk limit:10 \( status:completed or status:deleted \) rc.report.all.sort:end- all | tee >(sed -n 4p | cut -d" " -f5 | tee >(xargs -i echo Copied {}) | xsel -ib ) ' | ||
13 | tkw(){ tk $1 mod wait:${2##wait:}; } | ||
14 | alias tkrc='vim ~/.taskrc' | ||
15 | alias cdtk='cd ~/.task' | ||
16 | alias chtk='tig -C ~/.task status' | ||
17 | alias tt='taskwarrior-tui' | ||