               (spacemacs//helm-do-ag-region-or-symbol 'helm-do-ag dir)
             (message "error: Not in a project."))))
 
-      (defun spacemacs/helm-do-ack (&optional dir)
-        "Search with ack using `helm-ag'"
-        (interactive)
-        (if (configuration-layer/package-usedp 'helm-ag)
-            (let ((helm-ag-base-command "ack --nocolor --nogroup"))
-              (helm-do-ag dir))
-          (message "error: helm-ag not found.")))
-
       (defun spacemacs/helm-project-do-ack ()
         "Search with ack using `helm-ag' in project"
         (interactive)

                        (this-fn thing)))))
          (funcall func dir)))

      (defun spacemacs/helm-project-do-ag ()
        "Search with ag using `helm-ag' in project"
        (interactive)

              (spacemacs/helm-do-ack dir)
            (message "error: Not in a project."))))

      (defun spacemacs/helm-project-do-ack-region-or-symbol ()
        "Search with ack using `helm-ag' using a default input in project."
        (interactive)
