Locate file broken on macOS
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### Describe your issue
reproduce: `SPC s f`, type any keyword, then will get an error message "/usr/bin/locate: illegal option -- -"
I did not dig too much, the error message might indicate that I need a gnu version `locate` command, but intuitively we should use the spotlight index (mdfind?) rather than `locate`, right?
### Steps to reproduce
`SPC s f`, type any keyword, then will get an error message "/usr/bin/locate: illegal option -- -"
### System information
https://pastebin.com/L2mYS4J4
### Disclosures
- [ ] This issue was written with/by AI.
Contributor guide
Research direction
Start from the implementation behind the SPC s f entry point and trace how it invokes /usr/bin/locate on macOS. Reproduce the illegal-option error, compare the available macOS search command mentioned in the issue, and consider the work complete when file search returns results without that error on macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs-lisp, macos
- Domain
- operating-systems, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100