customized add to todo.sh

This commit is contained in:
Jonas Forsberg
2020-05-20 13:17:49 +02:00
parent 4474cd1324
commit 4d326c3d63

6
.todo.actions.d/add Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
if [ -z ${TODO_APPEND+x} ]; then
todo.sh command add "$(date +%Y-%m-%d) ${@:2}"
else
todo.sh command add "$(date +%Y-%m-%d) ${@:2} $TODO_APPEND"
fi