mirror of
https://github.com/adulau/dotfiles.git
synced 2024-12-22 00:36:04 +00:00
listing todo [] in notes
This commit is contained in:
parent
aa77081679
commit
42967e714c
1 changed files with 5 additions and 0 deletions
|
@ -59,6 +59,11 @@ then
|
|||
elif [ "${ACTION}" == "edit" ]
|
||||
then
|
||||
vim ${TODAYPATH}/$( date +%d)
|
||||
|
||||
elif [ "${ACTION}" == "todo" ]
|
||||
then
|
||||
cd ${NOTESPATH}
|
||||
find . -type f | grep -v "/\." | xargs -d"\n" grep "\[\]"
|
||||
else
|
||||
echo "unknown action"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue