aboutsummaryrefslogtreecommitdiff
path: root/todo
diff options
context:
space:
mode:
Diffstat (limited to 'todo')
-rwxr-xr-xtodo2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo b/todo
index 3c17c4f..89e0771 100755
--- a/todo
+++ b/todo
@@ -43,6 +43,8 @@ function todo_list {
if [ "$OPTION" == "list" ]; then
todo_list | less
+elif [ "$OPTION" == "count" ]; then
+ todo_find | wc -l
else
todo_find | grep -v -e "^$NAME$" | sed -e "s|^$HOME|~|"
fi