Add a function for timewarrior last day
This commit is contained in:
parent
51c95762d4
commit
ca84d731ba
9
zshrc
9
zshrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue