twalias/taskwarrior_aliases

40 lines
1 KiB
Text

alias t=task
alias tn='clear;task next'
alias ta='task add'
alias tan='task add scheduled:today'
alias tat='task add scheduled:tomorrow until:sch+14d'
alias tm='task modify'
alias trol="task sch:yes status:pending modify sch:tod"
alias tal='task add dep:"$(task +LATEST uuids)"'
alias t.='tal'
alias td="task done"
alias t-="task delete"
alias tm="task modify"
alias tu="task undo"
alias tv="vit rc.alias.next=list"
alias tw1="task modify wait:1d"
alias in='t add +in'
alias rnd='t add +rnd'
alias ts='task-status --bullet=""'
# context control
alias tc="task context"
alias tt="task rc.context=none"
alias ttv="vit rc.alias.next=list rc.context=none"
# main categories
alias tmaint="t project:maint"
# Scripty aliases
tickle () {
deadline=$1
shift
in +tickle wait:$deadline $@
}
alias tick=tickle
# These were built from inspiration from various parts of the internet, but in particular:
# https://gist.github.com/simonmichael/7d57c47dc643279951f1
# https://www.reddit.com/r/taskwarrior/comments/uvwqlz/share_your_aliases/