customized add to todo.sh
This commit is contained in:
parent
4474cd1324
commit
4d326c3d63
6
.todo.actions.d/add
Executable file
6
.todo.actions.d/add
Executable 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
|
Loading…
Reference in New Issue
Block a user