diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-05 19:41:58 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-05 19:41:58 +0800 |
| commit | 77a7744876f04ff9abcc2e0c2732fd4be6b052cb (patch) | |
| tree | 58ddc6316dd99e1fcfa6c8f8f1cd5cf35e9e5c22 | |
| parent | 0eb25c4e6ad27333d5adf0307c3c775101905061 (diff) | |
Update
| -rw-r--r-- | alias | 22 |
1 files changed, 11 insertions, 11 deletions
| @@ -508,17 +508,17 @@ trash() { mv $@ ~/.local/share/Trash; } | |||
| 508 | alias ge='graph-easy --boxart' | 508 | alias ge='graph-easy --boxart' |
| 509 | 509 | ||
| 510 | # task | 510 | # task |
| 511 | alias tk='task' | 511 | tk() { task rc.context=`cat ~/.task/context` $@; } |
| 512 | alias tka='task annotate' | 512 | tkc(){ echo $1 >~/.task/context; } |
| 513 | alias tkc='task context' | 513 | tkcn() { echo none >~/.task/context; } |
| 514 | alias tkcn='task context none' | 514 | tkch() { echo home >~/.task/context; } |
| 515 | alias tkch='task context home' | 515 | alias tka='tk annotate' |
| 516 | alias tkd='task done' | 516 | alias tkd='tk done' |
| 517 | alias tkD='task delete' | 517 | alias tkD='tk delete' |
| 518 | alias tkm='task modify' | 518 | alias tkm='tk modify' |
| 519 | alias tkn='task next' | 519 | alias tkn='tk next' |
| 520 | alias tk10='task 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 ) ' | 520 | 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 ) ' |
| 521 | tkw(){ task $1 mod wait:${2##wait:}; } | 521 | tkw(){ tk $1 mod wait:${2##wait:}; } |
| 522 | alias tkrc='vim ~/.taskrc' | 522 | alias tkrc='vim ~/.taskrc' |
| 523 | alias cdtk='cd ~/.task' | 523 | alias cdtk='cd ~/.task' |
| 524 | alias chtk='tig -C ~/.task status' | 524 | alias chtk='tig -C ~/.task status' |