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

Error message on macOS #19

Closed
gene-pavlovsky opened this issue Nov 19, 2019 · 5 comments
Closed

Error message on macOS #19

gene-pavlovsky opened this issue Nov 19, 2019 · 5 comments

Comments

@gene-pavlovsky
Copy link

I've installed this per the instructions, but attempting to use tab completion results in this error being printed:
bash: /proc/cpuinfo: No such file or directory

There is no /proc on macOS.

The completion itself seems to be working, although with the annoying error message on every attempt to use it, I didn't do any extensive testing.

@rockandska
Copy link
Owner

Sorry, didn't had the time to test on macos but see clearly where it occurs and will push a patch before the end of the day if i can.

Thanks to have take the time to test it

@rockandska
Copy link
Owner

Could you checkout the branch fix/sort_parallel_macosx_error and let me know if it is ok now before merging it please ?

Regards,

@gene-pavlovsky
Copy link
Author

gene-pavlovsky commented Nov 19, 2019

Great, thank you. I will test it when you have a patch available.
I'm also wondering if there would be some more undetected issues caused by macOS.
While writing some bash scripts on macOS, I've found out that some standard commands provided by macOS have BSD-style options, different from their GNU counterparts which are more familiar to me from my previous Linux experience. When using an interactive shell I mostly avoid dealing with this, by using GNU versions of everything installed via homebrew package manager, but any shell scripts running would use the built-in tools from macOS.
I don't know if fzf-obc involves running any shell scripts, perhaps it just adds completion functions to the running shell, in which case it should probably be ok provided that the GNU versions of tools are first in PATH (in my case they are).

@gene-pavlovsky
Copy link
Author

Tested your branch, no more errors. Thanks for that fix.
As for how it works with gradle, I've posted a comment in the original issue in the fzf repo.

@rockandska
Copy link
Owner

thanks for the test i will merge it and release a patch version soon.

For you answer on fzf original issue, post your concerns about zfz-obc in a new issue here to not pollute the fzf issue itself 😄
And add some reproducible example and will take a look if i could do something if it is not a pain ^^

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants