diff --git a/completion/bash/task.bash b/completion/bash/task.bash index 4ad88373..2633eac8 100644 --- a/completion/bash/task.bash +++ b/completion/bash/task.bash @@ -15,7 +15,7 @@ _task_completion() return fi - COMPREPLY=($(compgen -c | echo "$scripts" | grep $curr_arg)); + COMPREPLY=($(compgen -c | echo "$scripts" | grep -- $curr_arg)); } complete -F _task_completion task