Skip to content

Commit

Permalink
Merge pull request #47 from abougouffa/better-args-for-fd
Browse files Browse the repository at this point in the history
Don't colorize in `fd`'s output
  • Loading branch information
wyuenho authored Nov 26, 2024
2 parents 1d7ea0d + 0da1d6a commit 9d0d1b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pet.el
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ and nil otherwise."
:type 'string
:group 'pet)

(defcustom pet-fd-command-args '("-tf" "-H" "-a" "-g")
(defcustom pet-fd-command-args '("-tf" "-cnever" "-H" "-a" "-g")
"The arguments to pass to the \"fd\" command."
:type '(repeat string)
:group 'pet)
Expand Down Expand Up @@ -205,7 +205,7 @@ Return absolute path to FILE if found, nil otherwise."
(if (executable-find pet-fd-command)
(car (cl-remove-if
#'string-empty-p
(apply #'process-lines (append (list pet-fd-command) pet-fd-command-args (list file root)))))
(apply #'process-lines `(,pet-fd-command ,@pet-fd-command-args ,file ,root))))
(when-let ((fileset
(cond ((functionp 'projectile-dir-files)
(mapcar (apply-partially #'concat root)
Expand Down

0 comments on commit 9d0d1b9

Please sign in to comment.