diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-10-04 15:06:15 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-10-04 15:06:15 +0100 |
commit | 2d6a4c49bafea9a766464492bcfc4a7f2e196c6e (patch) | |
tree | bebbc23fb5968bb29fc38cf095759d11de59bc59 /.emacs.d/lisp | |
parent | 84f0f5ba72781668b5d61ed10676d46e00bf70c0 (diff) | |
download | dotfiles-2d6a4c49bafea9a766464492bcfc4a7f2e196c6e.tar.gz |
Remove darwin gfind workaround
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 3 | ||||
-rw-r--r-- | .emacs.d/lisp/init-navigation.el | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 80c9054..3b01339 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -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") diff --git a/.emacs.d/lisp/init-navigation.el b/.emacs.d/lisp/init-navigation.el index bfee93c..d0df0f1 100644 --- a/.emacs.d/lisp/init-navigation.el +++ b/.emacs.d/lisp/init-navigation.el @@ -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) |