Skip to content

Bug: File names with # char is not properly escaped when tagging it (ENOENT) #11790

@eersnington

Description

@eersnington

Description

filenames with # don't work when tagging. example tagging @file#name.txt just comes back /path/file cause # isn't escaped

Plugins

whatever the goat dillon mulroy has in his dotfiles

OpenCode version

v1.1.48

Steps to reproduce

Minimal repo:

echo "hello world" > "file#name.txt"

Then open opencode and tag @file#name.txt, and you should get a non found error cause the # char isn't properly escaped

Screenshot and/or share link

Image

Operating System

macos 26.1

Terminal

ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions