Skip to content

** glob does not match files in the root directory #7222

Description

@zx8
$ fish --version
fish, version 3.1.2-1083-ga30630a1d

bash

$ mkdir foo
$ touch bar foo/bar
$ echo **/bar
bar foo/bar

fish

$ mkdir foo
$ touch bar foo/bar
$ echo **/bar
foo/bar

Is this intentional or an oversight? The documentation says:

** matches any files and directories in the current directory and all of its subdirectories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions