Skip to content

counsel-ag + ivy-occur bash error #1240

Closed
@SkySkimmer

Description

@SkySkimmer

Reproduction:

  • counsel-ag
  • search for a _b (regardless of presence of matches) (in general string - space - string starting with underscore)
  • ivy-occur

Result: occur buffer containing

-*- mode:grep; default-directory: "[redacted]" -*-


2 candidates:
.//bin/bash: -c: line 0: syntax error near unexpected token `('
.//bin/bash: -c: line 0: `ag --nocolor --nogroup (a).*?(_b)'

This doesn't seem to happen with counsel-grep.

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