Grep Plug: alternate search implementation

A virtual page will disappear, it won’t create a markdown file in your instance.
Normal search behaves the same way, or when you click on hashtags.

Save, would change that and create a file with the results in your instance

1 Like

First of all, thanks for this great plugin - I’m fairly new to it, but it’s been a great addition to my Silverbullet instances.

In addition: after the installation I ran into the following error after running the Grep command in Silverbullet:

Error running 'git' command, make sure Git is in PATH

Been running everything with Podman / Docker. SB Version 0.10.1.

Solution: initially disabled SB_SHELL_BACKEND on all containers as it was not needed and part of the hardening. Removed the configuration as the default is on and it worked again.

Just thought it might be helpful in the future.

Thanks for the feedback, I released 2.3.1 with updated notification and README suggesting possible reasons why the command may fail. I tried to detect if it’s just git or all commands failing (see command-test branch), but couldn’t think of any reliable incantation for PowerShell.


Let’s see if the “virtual page” is clear now :sweat_smile:

# by default shows results in a virtual page, like the built-in search
# when set to true, the results will be saved to a regular markdown file
saveResults: false
1 Like