Skip to content

Shopt globstar does not work #2043

Description

@trallnag

Description

For me, shell option globstar does not work.

I followed this documentation: https://taskfile.dev/usage/#set-and-shopt

❯ task
task: [default] echo **/*.go
**/*.go

If I adjust it to just echo *.go the expansion works. So it is just globstar that is broken?

❯ task
task: [default] echo *.go
dummy.go

Version

3.41.0

Operating system

Linux

Experiments Enabled

No response

Example Taskfile

version: '3'

set: [pipefail]
shopt: [globstar]

tasks:
  default: echo **/*.go

Metadata

Metadata

Assignees

Labels

dep: mvdan/shIssues related to the upstream interpreter used by Task.

Type

Fields

No fields configured for bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions