diff --git a/todo.cfg b/todo.cfg index 2b3fa53..546a640 100644 --- a/todo.cfg +++ b/todo.cfg @@ -2,7 +2,7 @@ # Your todo.txt directory #export TODO_DIR="/Users/gina/Documents/todo" -export TODO_DIR=`dirname $0` +export TODO_DIR=`dirname "$0"` # Your todo/done/report.txt locations export TODO_FILE="$TODO_DIR/todo.txt" diff --git a/todo.sh b/todo.sh index 3805f98..d21caef 100755 --- a/todo.sh +++ b/todo.sh @@ -498,7 +498,7 @@ export SENTENCE_DELIMITERS=',.:;' } [ -e "$TODOTXT_CFG_FILE" ] || { - CFG_FILE_ALT=`dirname $0`"/todo.cfg" + CFG_FILE_ALT=`dirname "$0"`"/todo.cfg" if [ -e "$CFG_FILE_ALT" ] then