X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/1e0a565b0aa73b3bdb68bfa10984c94f2b0c4be1..b2bea6a2530dc8ae41eb5120565406fb7317e3b5:/.zsh/zshrc/parts.d/50-taskwarrior diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index b35e383..9138c2b 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -1,7 +1,7 @@ # -# display ready taskwarrior tasks +# taskwarrior shell integration # -# Copyright © 1994–2017 martin f. krafft +# Copyright © 2018 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # Source repository: http://git.madduck.net/v/etc/zsh.git @@ -10,13 +10,20 @@ if whence task >/dev/null; then alias t=task + alias t\?='alias -rm t 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 tm='t modify' + alias ts='t start' - [[ -t 0 ]] && task 2>/dev/null || : + run_at_most_every 30s \ + task 2>/dev/null || : fi # vim:ft=zsh