diff --git a/.todo.actions.d/add b/.todo.actions.d/add new file mode 100755 index 0000000..6e106aa --- /dev/null +++ b/.todo.actions.d/add @@ -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