X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/b2bea6a2530dc8ae41eb5120565406fb7317e3b5..066b006ca2c4b353c4fb745b0ee7c733ea7a9255:/.zsh/zshrc/parts.d/50-taskwarrior diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index 9138c2b..346df90 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,8 +20,10 @@ 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 || :