From: James Bunton Date: Tue, 19 Jul 2016 08:40:18 +0000 (+1000) Subject: set custom git commands X-Git-Url: https://code.delx.au/dotemacs/commitdiff_plain/59371d32ecb1af03bcb9e7e415e950da875843c0?hp=7d43006790eec6111de65ba4753932e1d59c6240 set custom git commands --- 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")