obsidian-another-quick-switcher icon indicating copy to clipboard operation
obsidian-another-quick-switcher copied to clipboard

grep not working?

Open jchenibm opened this issue 1 year ago • 5 comments

I am using Mac and installed ripgrep which is on system PATH. When I call the grep command, it still asked to install and configure ripgrep.

Any thing broken or I missed some thing? Thanks!

jchenibm avatar Oct 04 '22 05:10 jchenibm

Did you restart OS after installing ripgrep? If you did, and not working yet, please set the absolute path of ripgrep to the option. (ex: /home/tadashi-aikawa/bin/ripgrep)

image

tadashi-aikawa avatar Oct 05 '22 02:10 tadashi-aikawa

Did you restart OS after installing ripgrep? If you did, and not working yet, please set the absolute path of ripgrep to the option. (ex: /home/tadashi-aikawa/bin/ripgrep)

image

I don't understand how to set up a search to use ripgrep. I am on windows and I downloaded ripgrep and put it the PATH. what else should I do? Where is a search settings should set it to use ripgrep?

Archie-2021 avatar Oct 18 '22 16:10 Archie-2021

@Archie-2021 You can try opening Powershell, input rg and then enter to see if the rigrep is installed correctly.

Quorafind avatar Oct 19 '22 01:10 Quorafind

@Archie-2021 You can try opening Powershell, input rg and then enter to see if the rigrep is installed correctly.

yes, I tested the ripgrep. rg --help command in cmd and it works. My main question is how to set it up in there first place. Where should I say to the system that it is a ripgrep search?

PS. I forgot that it is its own separate command.

Is there a way to use grep only in current folder? If not is there a way to add it to options?

Archie-2021 avatar Oct 19 '22 05:10 Archie-2021

@Archie-2021

I don't understand how to set up a search to use ripgrep. I am on windows and I downloaded ripgrep and put it the PATH.

No need to change from default settings ( rg ).

Is there a way to use grep only in current folder? If not is there a way to add it to options?

No. There are no ways so far. If you want to, please create an issue (FR).

@Quorafind Thanks for the follow up :)

tadashi-aikawa avatar Oct 20 '22 23:10 tadashi-aikawa