diff options
author | June McEnroe <programble@gmail.com> | 2012-04-01 01:38:07 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2012-04-01 01:38:07 -0400 |
commit | 89ce12da9cdff4a45b30e165094191993b253842 (patch) | |
tree | 5ac430566be6482358c636c620d86d18be7e9ce4 | |
parent | Add t alias for task (diff) | |
download | src-89ce12da9cdff4a45b30e165094191993b253842.tar.gz src-89ce12da9cdff4a45b30e165094191993b253842.zip |
Count only incomplete tasks in prompt
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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]%}]" } |