commit 46703696e51ccfad759b04544b35a49c7b5baa0b parent 7cac7f071c11952a8ff5d52fcca775b10ceb56f0 Author: William Casarin <jb55@jb55.com> Date: Wed, 5 May 2021 13:47:24 -0700 todo.sh: project-local configurable todos Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | dotfiles/.todo/config | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dotfiles/.todo/config b/dotfiles/.todo/config @@ -1,7 +1,7 @@ -export TODO_DIR="$HOME/docs/todo" -export TODO_FILE="$TODO_DIR/todo.txt" -export DONE_FILE="$TODO_DIR/done.txt" -export REPORT_FILE="$TODO_DIR/report.txt" +export TODO_DIR="${TODO_DIR:-"$HOME/docs/todo"}" +export TODO_FILE="${TODO_FILE:-"$TODO_DIR/todo.txt"}" +export DONE_FILE="${DONE_FILE:-"$TODO_DIR/done.txt"}" +export REPORT_FILE="${REPORT_FILE:-"$TODO_DIR/report.txt"}" export PRI_A=$RED # color for A priority export PRI_B=$YELLOW # color for B priority