-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi! Cool add-on.
Maybe I'm doing something wrong—this is my first try at installing an add-on, with a freshly make install'd todo.sh from their repo. I have xp living in ~/.todo/actions, and my ~/.todo/config file has this:
export TODO_ACTIONS_DIR=~/.todo/actions
export TODO_DIR=./
With that, I can go into a specific directory (I have multiple todo.txt files set up in different directories) and run todo.sh xp, and it successfully runs xp. However, the variables that todo.sh defines do not seem to make it to xp, causing it to fail, because it can't find done.txt, so it "hangs" on the line DAYCONTENT=$(grep "x $DAYTITLE" $DONE_FILE) waiting for grep to finish. I know this because if I add echo $DONE_FILE to xp it prints blank when running todo.sh xp.
Meanwhile, running todo.sh archive in the same directory writes to done.txt no problem, so todo.sh itself is configuring $DONE_FILE correctly (which I've also confirmed by adding an echo to todo.sh). I'm not sure why the variable isn't making it to xp.
I don't see where I've misconfigured something... any hints?
Thanks :)