]> code.delx.au - dotemacs/commitdiff
ivy/counsel: fixed quoting in commands to match changes in package
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 25 Feb 2018 07:37:22 +0000 (18:37 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 25 Feb 2018 07:37:22 +0000 (18:37 +1100)
lisp/my-ivy.el

index b1e4c1e70d4c47061622b947d72556a9e412e272..d58dcf12efa02ff279776749097d8f13cac61756 100644 (file)
@@ -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)