diff --git a/zshrc b/zshrc index 7fc2ced..f55efdf 100644 --- a/zshrc +++ b/zshrc @@ -421,8 +421,15 @@ function tasec() { task $search all; } ## }}} + +## Completion +zstyle ':completion:*:*:task:*' verbose yes +zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u' +zstyle ':completion:*:*:task:*' group-name '' +# }}} +# Timewarrior {{{ ## Display tasks of today {{{ -function taday() { +function tiday() { if [ "${#}" -eq 0 ]; then timew summary :day :ids else @@ -431,7 +438,7 @@ function taday() { } ## }}} ## Display tasks of last day {{{ -function talastday() { +function tilastday() { if [ "${#}" -eq 0 ]; then timew summary :yesterday :ids else @@ -440,7 +447,7 @@ function talastday() { } ## }}} ## Display tasks of this week {{{ -function taweek() { +function tiweek() { if [ "${#}" -eq 0 ]; then timew summary :week :ids else @@ -449,7 +456,7 @@ function taweek() { } ## }}} ## Display tasks of last week {{{ -function talastweek() { +function tilastweek() { if [ "${#}" -eq 0 ]; then timew summary :lastweek :ids else @@ -458,7 +465,7 @@ function talastweek() { } ## }}} ## Display tasks of this month {{{ -function tamonth() { +function timonth() { if [ "${#}" -eq 0 ]; then timew summary :month :ids else @@ -467,7 +474,7 @@ function tamonth() { } ## }}} ## Display tasks of last month {{{ -function talastmonth() { +function tilastmonth() { if [ "${#}" -eq 0 ]; then timew summary :lastmonth :ids else @@ -476,7 +483,7 @@ function talastmonth() { } ## }}} ## Display tasks of this year {{{ -function tayear() { +function tiyear() { if [ "${#}" -eq 0 ]; then timew summary :year :ids else @@ -485,7 +492,7 @@ function tayear() { } ## }}} ## Display tasks of last year {{{ -function talastyear() { +function tilastyear() { if [ "${#}" -eq 0 ]; then timew summary :lastyear :ids else @@ -494,11 +501,6 @@ function talastyear() { } ## }}} -## Completion -zstyle ':completion:*:*:task:*' verbose yes -zstyle ':completion:*:*:task:*:descriptions' format '%U%B%d%b%u' -zstyle ':completion:*:*:task:*' group-name '' - # }}} # DebOps {{{