X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/e5c5cd761417486573554be407a7317726965e5c..b8842df18798e306efe67bdab95d6455c9f3fbf1:/.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 f76d285..dfe7149 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -9,18 +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 tn='t next' + alias tc='t call' + alias th='t attach' 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 tw='t waiting' + 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