Remove darwin gfind workaround

This commit is contained in:
David Morgan 2021-10-04 15:06:15 +01:00
parent 84f0f5ba72
commit 2d6a4c49ba
2 changed files with 0 additions and 5 deletions

View File

@ -310,9 +310,6 @@ DEFS is a plist associating completion categories to commands."
(setq unread-command-events (append unread-command-events (list key 32)))))
(add-hook 'minibuffer-setup-hook #'consult-initial-narrow)
(when (and (eq system-type 'darwin) (string-match-p "^find" consult-find-args))
(setq consult-find-args (concat "g" consult-find-args)))
(defvar consult--source-perspective-buffer
`(:name "Perspective Buffer"
:narrow (?x . "Perspective")

View File

@ -74,8 +74,6 @@ If a numeric prefix argument N is given, move back N instances of the last used
:after (consult orderless)
:config
(setq affe-grep-command (replace-regexp-in-string "\\." "-Suu ." affe-grep-command))
(when (and (eq system-type 'darwin) (string-match-p "^find" affe-find-command))
(setq affe-find-command (concat "g" affe-find-command)))
;; Configure Orderless
(setq affe-regexp-function #'orderless-pattern-compiler
affe-highlight-function #'orderless--highlight)