Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'finder' plugin doesn't work on MacOS. Error message: 'find: illegal option --m' #1718

Closed
3 of 9 tasks
umaranis opened this issue Aug 26, 2023 · 0 comments · Fixed by #1719
Closed
3 of 9 tasks

'finder' plugin doesn't work on MacOS. Error message: 'find: illegal option --m' #1718

umaranis opened this issue Aug 26, 2023 · 0 comments · Fixed by #1719
Labels

Comments

@umaranis
Copy link
Contributor

finder plugin doesn't work on MacOS. I get the following error message: find: illegal option --m.

Cause: find expects the first parameter to be the path where it should start looking. In gnu find, it is defaulted to . but it MacOS which uses bsd find, it is not defaulted.

Fix: The suggested fix is to add . to the find command in the finder plugin so that it works across all platforms.

Environment details (Put x in the checkbox along with the information)

  • Operating System: MacOS
  • Desktop Environment:
  • Terminal Emulator:
  • Shell:
  • Custom desktop opener (if applicable):
  • Program options used:
  • Configuration options set:
  • Plugins are installed: finder
  • Issue exists on nnn master

Exact steps to reproduce the issue

@umaranis umaranis added the bug label Aug 26, 2023
@umaranis umaranis changed the title finder plugin doesn't work on MacOS. Error message: find: illegal option --m 'finder' plugin doesn't work on MacOS. Error message: 'find: illegal option --m' Aug 26, 2023
umaranis added a commit to umaranis/nnn that referenced this issue Aug 27, 2023
jarun added a commit that referenced this issue Aug 27, 2023
Update finder plugin find command with default path #1718
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant