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.
This commit is contained in:
Henrik Lissner 2019-02-21 15:40:20 -05:00
parent 11d7ae070a
commit d7308799f6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)