From 59371d32ecb1af03bcb9e7e415e950da875843c0 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 19 Jul 2016 18:40:18 +1000 Subject: [PATCH] set custom git commands --- lisp/my-completion.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/my-completion.el b/lisp/my-completion.el index 47b63d5..c431408 100644 --- a/lisp/my-completion.el +++ b/lisp/my-completion.el @@ -5,3 +5,5 @@ (setq counsel-find-file-at-point t) (setq counsel-find-file-ignore-regexp "\\(?:\\`[#.]\\)\\|\\(?:[#~]\\'\\)") (setq ivy-wrap t) +(setq counsel-git-cmd "git ls-files --full-name --cached --others --") +(setq counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color --untracked -i -e %S") -- 2.39.2