1
0
mirror of https://github.com/go-task/task.git synced 2025-01-04 03:48:02 +02:00

fix(completions): support lowercase filename for Taskfile (#1482)

This commit is contained in:
Shaun Tabone 2024-01-26 00:57:21 +01:00 committed by GitHub
parent 9ee0ea6ad1
commit 1b146543c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ function __task_list() {
enabled=1
cmd+=(--taskfile "$taskfile")
else
for taskfile in Taskfile{,.dist}.{yaml,yml}; do
for taskfile in {T,t}askfile{,.dist}.{yaml,yml}; do
if [[ -f "$taskfile" ]]; then
enabled=1
break