From d7308799f6983db16fa52f6abbcf9fe7ac94834b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Feb 2019 15:40:20 -0500 Subject: [PATCH] Remove -z flag from ag/rg commands No guarantee the user has the associated decompression libraries installed. I'll implement feature detection for these later. --- modules/completion/ivy/config.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index b13c673b9..e171d4957 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -111,11 +111,10 @@ immediately runs it on the current candidate (ending the ivy session)." (setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)" counsel-describe-function-function #'helpful-callable counsel-describe-variable-function #'helpful-variable - ;; Add smart-casing and compressed archive searching (-zS) to default - ;; command arguments: - counsel-rg-base-command "rg -zS --no-heading --line-number --color never %s ." - counsel-ag-base-command "ag -zS --nocolor --nogroup %s" - counsel-pt-base-command "pt -zS --nocolor --nogroup -e %s") + ;; Add smart-casing (-S) to default command arguments: + counsel-rg-base-command "rg -S --no-heading --line-number --color never %s ." + counsel-ag-base-command "ag -S --nocolor --nogroup %s" + counsel-pt-base-command "pt -S --nocolor --nogroup -e %s") (add-to-list 'swiper-font-lock-exclude #'+doom-dashboard-mode nil #'eq)