Skip to content

counsel-ag + ivy-occur bash error #1240

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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