Skip to content

counsel-grep, counsel-ag occur broken for pattern starting with dash #1266

Description

@SkySkimmer

counsel-grep with pattern -foo => error code 2
counsel-ag with pattern -foo => works, but adding ivy-occur => 1 candidates: ./ERR: What do you want to search for?

Probably other commands like counsel-rg are broken in similar ways, I didn't test (for instance I don't have rg installed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions