mirror of
https://github.com/adulau/dotfiles.git
synced 2024-12-22 08:46:01 +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" ]
|
elif [ "${ACTION}" == "edit" ]
|
||||||
then
|
then
|
||||||
vim ${TODAYPATH}/$( date +%d)
|
vim ${TODAYPATH}/$( date +%d)
|
||||||
|
|
||||||
|
elif [ "${ACTION}" == "todo" ]
|
||||||
|
then
|
||||||
|
cd ${NOTESPATH}
|
||||||
|
find . -type f | grep -v "/\." | xargs -d"\n" grep "\[\]"
|
||||||
else
|
else
|
||||||
echo "unknown action"
|
echo "unknown action"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue