From a0411126044ce2f03c43bb67e2f1439fec8c4d71 Mon Sep 17 00:00:00 2001 From: June 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 97e0dd4b..a0748b33 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