a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

pkg install ripgrep

Open zanodor opened this issue 2 years ago • 5 comments

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

Cheers

zanodor avatar Mar 24 '23 23:03 zanodor

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.

holzschu avatar Mar 25 '23 07:03 holzschu

I see, thanks.

zanodor avatar Mar 25 '23 11:03 zanodor

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.

holzschu avatar Apr 22 '24 11:04 holzschu

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?

zanodor avatar Apr 23 '24 14:04 zanodor

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.

holzschu avatar Apr 23 '24 16:04 holzschu