dotfiles/.todo.actions.d/add
2020-05-20 13:17:49 +02:00

7 lines
168 B
Bash
Executable File

#!/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