Closed rileyrg closed 4 years ago
helm-projectile-grep -> helm-projectile-grep-or-ack
helm-projectile-grep-or-ack
(let* ((default-directory (or dir (projectile-project-root))) (helm-ff-default-directory default-directory) (helm-grep-in-recurse t) (helm-grep-ignored-files (cl-union (projectile-ignored-files-rel) grep-find-ignored-files)) (helm-grep-ignored-directories (cl-union (mapcar 'directory-file-name (projectile-ignored-directories-rel)) grep-find-ignored-directories)) (helm-grep-default-command (if use-ack-p (concat ack-executable " -H --no-group --no-color " ack-ignored-pattern " %p %f") (if (and projectile-use-git-grep (eq (projectile-project-vcs) 'git)) "git --no-pager grep --no-color -n%c -e %p -- %f" "grep -a -r %e -n%cH -e %p %f ."))) (helm-grep-default-recurse-command helm-grep-default-command))
helm-projectile-grep -> helm-projectile-grep-or-ack
helm-projectile-grep-or-ack