]>
git.rmz.io Git - dotfiles.git/blob - zsh/lib/50-taskwarrior.zsh
1 if (( ! $
+commands
[task
] )); then
7 alias tlatest
="t +LATEST"
8 alias in="noglob task add +in"
9 alias inn
="in rc.context=none"
10 alias tw
="task context wfh"
11 alias th
="task context home"
13 autoload
-Uz task
-quote-magic
14 zle
-N self
-insert task
-quote-magic
21 function task_today_list
() {
22 local task_cmd
=(task rc.verbose
:nothing
)
23 local task_count
=$($task_cmd $($task_cmd _get rc.report.today.filter) count
)
26 task_status
+="%{$fg_bold[red]%} $task_count "
27 task_status
+="%{$reset_color%}"