fixes #343 by surrounding $HOME (which can have spaces) with quotations marks

This commit is contained in:
Benjamin Brombach
2015-04-21 16:17:38 +02:00
parent d0d6780a2f
commit 4510c9ee63
13 changed files with 23 additions and 23 deletions

View File

@@ -11,7 +11,7 @@ _todo()
mv prepend prep pri p replace report"
# Add custom commands from add-ons, if installed.
COMMANDS="$COMMANDS $('ls' ${TODO_ACTIONS_DIR:-$HOME/.todo.actions.d}/ 2>/dev/null)"
COMMANDS="$COMMANDS $('ls' ${TODO_ACTIONS_DIR:-"$HOME/.todo.actions.d"}/ 2>/dev/null)"
OPTS="-@ -@@ -+ -++ -d -f -h -p -P -PP -a -n -t -v -vv -V -x"