X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/385caf01793167d7087a1aec760edffb33a2d2a0..a8767d0e7ed2339be98c6244ead25d63034f85b9:/.zsh/zshrc/parts.d/50-taskwarrior diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index 561493a..51d993f 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -9,19 +9,24 @@ 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' alias tn='t next' alias tl='t all' 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