| @@ -1456,6 +1456,12 @@ the list." | |||||
| (defvar my-rgrep-alist | (defvar my-rgrep-alist | ||||
| `( | `( | ||||
| ;; git grep | |||||
| ("gitgrep" | |||||
| (eq 0 | |||||
| (shell-command "git rev-parse --git-dir")) | |||||
| "git --no-pager -c color.grep=false grep -nH -e ") | |||||
| ;; the silver searcher | ;; the silver searcher | ||||
| ("ag" | ("ag" | ||||
| (executable-find "ag") | (executable-find "ag") | ||||
| @@ -1473,12 +1479,6 @@ the list." | |||||
| (gtags-get-rootpath)) | (gtags-get-rootpath)) | ||||
| "global --result grep ") | "global --result grep ") | ||||
| ;; git grep | |||||
| ("gitgrep" | |||||
| (eq 0 | |||||
| (shell-command "git rev-parse --git-dir")) | |||||
| "git --no-pager -c color.grep=false grep -nH -e ") | |||||
| ;; grep | ;; grep | ||||
| ("grep" | ("grep" | ||||
| t | t | ||||