Skip to content

Nushell doesn't play well with Golang wildcard path syntax: "./..." #7015

@Southclaws

Description

@Southclaws

Question

I'm wondering if there's a workaround or a way to configure this to work as expected. Golang has this weird construct called wildcard package paths where an ellipsis in the path means "this package and all sub-packages" where a package is a directory with one or more .go files.

Unfortunately, on Nushell v0.61.0 this happens (I'm updating to check latest but it's taking ages for some reason)

image

The first command invocation is via powershell, then I exit that and run it in nushell, where it fails as it interprets ./... as two directory jumps upwards.

Additional context and details

https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecated:questionQuestions should be redirected to GitHub discussions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions