From 89ce12da9cdff4a45b30e165094191993b253842 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 1 Apr 2012 01:38:07 -0400 Subject: Count only incomplete tasks in prompt --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 37e9c2f5..cec2c343 100644 --- a/.zshrc +++ b/.zshrc @@ -146,7 +146,7 @@ alias t='task' setopt PROMPT_SUBST function prompt_task { - COUNT=$(task count -longterm) + COUNT=$(task count -longterm status.isnt:completed) [ "$COUNT" -gt 0 ] && echo "[%{$fg[red]%}$COUNT%{$fg[green]%}]" } -- cgit 1.4.1