diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-25 22:32:47 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-25 22:32:47 +0800 |
| commit | cbfbcb8f125a1643752ef93c7a045de136914d49 (patch) | |
| tree | 1093dc2d746d351f64a284c216cd629611696775 /alias | |
| parent | 20d4b8b9a3165c1832ea3e4399a853ef1f22bf35 (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 11 |
1 files changed, 4 insertions, 7 deletions
| @@ -461,19 +461,15 @@ trash() { mv $@ ~/.local/share/Trash; } | |||
| 461 | # task | 461 | # task |
| 462 | alias tk='task' | 462 | alias tk='task' |
| 463 | alias tkn='task next' | 463 | alias tkn='task next' |
| 464 | alias tkd='task done' | ||
| 465 | tkw(){ task $1 mod wait:$2; } | ||
| 464 | alias tkc='task context' | 466 | alias tkc='task context' |
| 465 | tkw(){ | ||
| 466 | task $1 mod wait:$2 | ||
| 467 | } | ||
| 468 | alias tkcn='task context none' | 467 | alias tkcn='task context none' |
| 469 | alias tkch='task context home' | 468 | alias tkch='task context home' |
| 470 | alias tkrc='vim ~/.taskrc' | 469 | alias tkrc='vim ~/.taskrc' |
| 471 | alias cdtk='cd ~/.task' | 470 | alias cdtk='cd ~/.task' |
| 472 | alias li='tasksh' | 471 | alias li='tasksh' |
| 473 | tt() { | 472 | alias tt='taskwarrior-tui' |
| 474 | taskwarrior-tui | ||
| 475 | ( cd ~/.task && git add --all && git commit -m 'update' && git push origin & ) &>/dev/null | ||
| 476 | } | ||
| 477 | 473 | ||
| 478 | # upload with 0x0.st | 474 | # upload with 0x0.st |
| 479 | up() { | 475 | up() { |
| @@ -518,6 +514,7 @@ alias thsr='curl -L google.com >/tmp/foo.html && xdg-open /tmp/foo.html' | |||
| 518 | #} | 514 | #} |
| 519 | todo() { cd ~/vimwiki && grep -R ' TODO ' --exclude-dir=logseq/; } | 515 | todo() { cd ~/vimwiki && grep -R ' TODO ' --exclude-dir=logseq/; } |
| 520 | fix() { which $1 && grep -Po 'FIXME.*' $(which $1); } | 516 | fix() { which $1 && grep -Po 'FIXME.*' $(which $1); } |
| 517 | alias ffmpeg='ffmpeg -hide_banner' | ||
| 521 | 518 | ||
| 522 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' | 519 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' |
| 523 | TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' | 520 | TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' |