X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/b2bea6a2530dc8ae41eb5120565406fb7317e3b5..9aa8aa5122d0208fd4177f436e9b60ab868e204c:/.zsh/zshrc/parts.d/50-taskwarrior?ds=inline diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index 9138c2b..51d993f 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -9,8 +9,9 @@ if whence task >/dev/null; then - alias t=task - alias t\?='alias -rm t t[a-z]' + function t() { task "$@"; } + + alias t\?='alias -rm t[-+a-z]' alias ta='t add' alias tc='t call' alias th='t attach' @@ -19,11 +20,13 @@ if whence task >/dev/null; then alias ty='t sync' alias td='t done' alias te='t edit' + alias tu='t undo' alias tm='t modify' alias ts='t start' + alias t+='t annotate' - run_at_most_every 30s \ - task 2>/dev/null || : + run_at_most_every 5m \ + t 2>/dev/null || : fi # vim:ft=zsh