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

pkg install ripgrep #590

Open
zanodor opened this issue Mar 24, 2023 · 5 comments
Open

pkg install ripgrep #590

zanodor opened this issue Mar 24, 2023 · 5 comments

Comments

@zanodor
Copy link

zanodor commented Mar 24, 2023

Shows error (not found). Do I need to curl or rg is not possible to use in this app?

Cheers

@holzschu
Copy link
Owner

ripgrep is not available for now. It's a long-standing issue (see #48). The difficulty is that it's written in Rust, so either I compile to WebAssembly using Rust (if it's feasible, I'm not sure) or I compile it to native code using Rust. Until recently, the Rust compiler could not produce dynamic libraries for iOS, so it was not possible, but that has changed so I should give it another try.

@zanodor
Copy link
Author

zanodor commented Mar 25, 2023

I see, thanks.

@holzschu
Copy link
Owner

Hi,
ripgrep is now available in a-Shell with pkg install rg. It's been compiled to WebAssembly, so it can feel a bit slow the first time.

@zanodor
Copy link
Author

zanodor commented Apr 23, 2024

Hi, ripgrep is now available in a-Shell with pkg install rg. It's been compiled to WebAssembly, so it can feel a bit slow the first time.

Thanks.
As I told you elsewhere I am making use of a jailbroken environment. I haven't been able to compile rigrep-all, though.
Do you see a way that rga could also be shipped one day?

@holzschu
Copy link
Owner

The problem with ripgrep-all is that it wants to compile and use a ton of helpers (pandoc, xz,...), and the compilation of these helpers fails. In order to compile it, I would need to disable those helpers, and the instructions are unclear on how to do that.

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

No branches or pull requests

2 participants