dotfiles/.todo.actions.d/add

7 lines
168 B
Plaintext
Raw Permalink Normal View History

2020-05-20 11:17:49 +00:00
#!/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