diff --git a/todo.sh b/todo.sh index 99320c9..4d0fb15 100755 --- a/todo.sh +++ b/todo.sh @@ -232,7 +232,7 @@ help() echo "" for action in "$TODO_ACTIONS_DIR"/* do - if [ -x "$action" ] + if [ -f "$action" -a -x "$action" ] then "$action" usage fi