minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.12k stars 98 forks source link

NetBSD/OpenBSD: find(1) does not support -iwholename #988

Closed 0-wiz-0 closed 1 month ago

0-wiz-0 commented 1 month ago

https://github.com/minad/consult/blob/7533460e530a1e7abc89b4da8ad99b696fca8a30/consult.el#L282 uses find(1) with -iwholename, which is not supported by the find(1) implementations on NetBSD and OpenBSD. OpenBSD has -iname; NetBSD has -iname and -iregex. Do you have an idea how to support them better? Thank you!