@ auto complete on Windows cause issue with ReadManyFiles · Issue #3150 · google-gemini/gemini-cli · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

@ auto complete on Windows cause issue with ReadManyFiles #3150

Open
@Piporono

Description

@Piporono

What happened?

When pressing @ plus a file name in a sub directory, on Windows, the path suggested for auto complete use "\" instead of "/":

Image

This cause the ReadManyFiles to fail:

Image

Manually replacing "\" with "/" would allow ReadManyFiles to run successfully:

Image

Using "\" like currently would also cause a model understanding issue if the file in the sub directory contain space. For example, if I change the "test.txt" above to "test test.txt", press "@test.txt" then tab to auto complete the path, this would be the result:

Image

As you can see, this time ReadFile did not run.

What did you expect to happen?

On Windows, @ with a file name in a sub directory should use / for path, since \ is used for escaping. This cause ReadManyFile to fail.

Client information

$ gemini /about
│ About Gemini CLI                                                                 │
│                                                                                  │
│ CLI Version                 0.1.9                                                │
│ Git Commit                  34935d6                                              │
│ Model                       gemini-2.5-flash                                     │
│ Sandbox                     no sandbox                                           │
│ OS                          win32                                                │
│ Auth Method                 OAuth    

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to the core functionality of the CLI.help wantedExtra attention is neededkind/bugSomething isn't workingpriority/p1Important and should be addressed in the near term.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      TMZ Celebrity News – Breaking Stories, Videos & Gossip

      Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

      Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

      🎥 Watch TMZ Live

      TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.