How to grep the output of consult-locate? reddit / emacs ---------------------------------------------------------------------- kaiwen1 · 2022-11-06 05:11 I'm using `mdfind` for `consult-locate` with `(setq consult-locate-args "mdfind -name")`. Is there a way to wrap `consult-locate` with another function or some other setting/hack to grep the results? In effect, I need to get this kind of output from the `consult-locate`: `(setq consult-locate-args (concat "mdfind -name " args " | grep -v archive"))` This obviously doesn't work, but getting that result is the goal. ---------------------------------------------------------------------- pathemata · 2022-11-06 11:40 `embark-collect` then `consult-line` or `consult-focus-lines`. ---------------------------------------------------------------------- ark3qqq · 2022-11-06 12:07 Perhaps Consult’s two-level filtering feature fits here? https://github.com/minad/consult#asynchronous-search ---------------------------------------------------------------------- [deleted] · 2022-11-06 12:25 [deleted] ---------------------------------------------------------------------- [deleted] · 2022-11-06 14:04 [deleted]