diff options
author | June McEnroe <june@causal.agency> | 2012-04-01 01:38:07 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2012-04-01 01:38:07 -0400 |
commit | a0411126044ce2f03c43bb67e2f1439fec8c4d71 (patch) | |
tree | 9d4995eab4340e85c005ce88951fa27b62ace7e1 /.zshrc | |
parent | Add t alias for task (diff) | |
download | src-a0411126044ce2f03c43bb67e2f1439fec8c4d71.tar.gz src-a0411126044ce2f03c43bb67e2f1439fec8c4d71.zip |
Count only incomplete tasks in prompt
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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]%}]" } |