mirror of
https://github.com/go-task/task.git
synced 2025-01-06 03:53:54 +02:00
fix(completions): support lowercase filename for Taskfile (#1482)
This commit is contained in:
parent
9ee0ea6ad1
commit
1b146543c5
@ -18,7 +18,7 @@ function __task_list() {
|
|||||||
enabled=1
|
enabled=1
|
||||||
cmd+=(--taskfile "$taskfile")
|
cmd+=(--taskfile "$taskfile")
|
||||||
else
|
else
|
||||||
for taskfile in Taskfile{,.dist}.{yaml,yml}; do
|
for taskfile in {T,t}askfile{,.dist}.{yaml,yml}; do
|
||||||
if [[ -f "$taskfile" ]]; then
|
if [[ -f "$taskfile" ]]; then
|
||||||
enabled=1
|
enabled=1
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user