diff --git a/pomodorrior b/pomodorrior index 2108993..fdb31ed 100755 --- a/pomodorrior +++ b/pomodorrior @@ -35,7 +35,9 @@ fi # If the task doesn't already exists if [ ! "${TASK_ID}" ]; then - printf '%b' "${TASK_NAME} don't exist, create it.\n" + command task add "${TASK_NAME}" + printf '%b' "Task '${TASK_NAME}' created.\n" + TASK_ID=$(task description.is:"${TASK_NAME}" ids) fi ## Working on the task