Skip to content

counsel-dired-jump does not respect "find-program" #1181

@rgemulla

Description

@rgemulla

I am using Emacs on Windows and customized the variable find-program to point to Cygwin's find executable. counsel-dired-jump does not respect this variable, however. This patch fixes the problem:

-              (split-string
-               (shell-command-to-string "find * -type d -not -path '*\/.git*'")
-               "\n" t)
+              (split-string
+               (shell-command-to-string (concat find-program " * -type d -not -path '*\/.git*'"))
+               "\n" t)

The same issue arises in counsel-file-jump.

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