diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-10-13 19:06:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-10-13 19:06:56 -0300 |
commit | 6245c401c8b5b291509080fef6a6ff5b659cc748 (patch) | |
tree | 25abc469da39d148513ed42a7154fda1f4ee2ebf /todo | |
parent | a59dffdae995ad3fc008c288fa2be8cfc4d8dcc2 (diff) | |
download | scripts-6245c401c8b5b291509080fef6a6ff5b659cc748.tar.gz scripts-6245c401c8b5b291509080fef6a6ff5b659cc748.tar.bz2 |
TODO: adds count option
Diffstat (limited to 'todo')
-rwxr-xr-x | todo | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |