Variable: projectile-generic-command
projectile-generic-command is a customizable variable defined in
projectile.el.
Value
"find . -type f | cut -c3- | tr '\\n' '\\0'"
Documentation
Command used by projectile to get the files in a generic project.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-generic-command
(cond
;; we prefer fd over find
;; note that --strip-cwd-prefix is only available in version 8.3.0+
(projectile-fd-executable
(format "%s . -0 --type f --color=never --strip-cwd-prefix" projectile-fd-executable))
;; with find we have to be careful to strip the ./ from the paths
;; see https://stackoverflow.com/questions/2596462/how-to-strip-leading-in-unix-find
(t "find . -type f | cut -c3- | tr '\\n' '\\0'"))
"Command used by projectile to get the files in a generic project."
:group 'projectile
:type 'string)