Add a function for timewarrior last day

This commit is contained in:
Jeremy Gardais 2020-04-16 06:36:22 +02:00
parent 51c95762d4
commit ca84d731ba
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 9 additions and 0 deletions

9
zshrc
View File

@ -356,6 +356,15 @@ function taday() {
fi fi
} }
## }}} ## }}}
## Display tasks of last day {{{
function talastday() {
if [ "${#}" -eq 0 ]; then
timew summary :yesterday :ids
else
timew summary :yesterday :ids "${*}"
fi
}
## }}}
## Display tasks of this week {{{ ## Display tasks of this week {{{
function taweek() { function taweek() {
if [ "${#}" -eq 0 ]; then if [ "${#}" -eq 0 ]; then