completion/helm: add mdfind support to helm-locate
This commit is contained in:
parent
87c6e8900c
commit
19ef103392
1 changed files with 6 additions and 1 deletions
|
@ -159,7 +159,12 @@ be negative.")
|
||||||
|
|
||||||
;;;###package helm-locate
|
;;;###package helm-locate
|
||||||
(defvar helm-generic-files-map (make-sparse-keymap))
|
(defvar helm-generic-files-map (make-sparse-keymap))
|
||||||
(after! helm-locate (set-keymap-parent helm-generic-files-map helm-map))
|
(after! helm-locate
|
||||||
|
(when (and IS-MAC
|
||||||
|
(null helm-locate-command)
|
||||||
|
(executable-find "mdfind"))
|
||||||
|
(setq helm-locate-command "mdfind -name %s"))
|
||||||
|
(set-keymap-parent helm-generic-files-map helm-map))
|
||||||
|
|
||||||
|
|
||||||
;;;###package helm-projectile
|
;;;###package helm-projectile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue