diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-11-07 09:49:58 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-11-07 09:49:58 +0800 |
commit | 180ef46d6907fc61d759cf0292a99750c807ac66 (patch) | |
tree | 2ffdd96a88459f05e87a2d35bfd2f313542b59e6 | |
parent | c7745bf4d6df02c5cee969a6bb99dd59ac2b01a7 (diff) |
Add fool-proof for arguments
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -503,7 +503,7 @@ alias tkd='task done' | |||
503 | alias tkm='task modify' | 503 | alias tkm='task modify' |
504 | alias tka='task annotate' | 504 | alias tka='task annotate' |
505 | 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 ) ' | 505 | 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 ) ' |
506 | tkw(){ task $1 mod wait:$2; } | 506 | tkw(){ task $1 mod wait:${2##wait:}; } |
507 | alias tkc='task context' | 507 | alias tkc='task context' |
508 | alias tkcn='task context none' | 508 | alias tkcn='task context none' |
509 | alias tkch='task context home' | 509 | alias tkch='task context home' |