1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Merge pull request #544 from AlexanderBeyn/fix-bash-completion

Fix bash completions when the current argument begins with a dash
This commit is contained in:
Andrey Nering
2021-08-07 13:54:39 -03:00
committed by GitHub

View File

@@ -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