From: James Bunton Date: Sun, 25 Feb 2018 07:37:22 +0000 (+1100) Subject: ivy/counsel: fixed quoting in commands to match changes in package X-Git-Url: https://code.delx.au/dotemacs/commitdiff_plain/e3ebe84ce42455188326f74b8dbcc3ce044dc2d5 ivy/counsel: fixed quoting in commands to match changes in package --- diff --git a/lisp/my-ivy.el b/lisp/my-ivy.el index b1e4c1e..d58dcf1 100644 --- a/lisp/my-ivy.el +++ b/lisp/my-ivy.el @@ -12,8 +12,8 @@ (setq counsel-find-file-ignore-regexp "\\(?:\\`[#.]\\)\\|\\(?:[#~]\\'\\)") (setq counsel-git-cmd "git ls-files --full-name --cached --others --exclude-standard --") -(setq counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color --untracked -i -e %S") +(setq counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color --untracked -i -e \"%s\"") -(setq counsel-grep-base-command "grep -niE '%s' %s") +(setq counsel-grep-base-command "grep -niE %s %s") (ivy-mode 1)