drgrib / alfred-bear

Streamlined note searching and creation for Bear using Alfred
MIT License
428 stars 24 forks source link

bs & bsearch not working here, although bc works #45

Closed kimaldis closed 3 years ago

kimaldis commented 3 years ago

I really like this, it's kind of what Bear's search should be

bc works for me but bs reverts to google search when I hit the space bar after typing 'bs'. Debug window gives me:

I'm running MacOS 12, Monterey.

[09:27:01.719] Logging Started...
[09:27:19.165] Bear[Script Filter] Queuing argument ''
[09:27:19.234] Bear[Script Filter] Script with argv '' finished
[09:27:19.237] ERROR: Bear[Script Filter] Code 127: /Users/kimaldis/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/DE1C2DE5-2BB3-4A62-9AD3-3A27F7D23088: line 1: cmd/search/search: No such file or directory
drgrib commented 3 years ago

I can't reproduce this. cmd/search/search is there in the workflow I uploaded to GitHub. You might try to use the security command at the bottom of the README.

drgrib commented 3 years ago

Also, I recommend trying bcs as it allows you to both search and create.

kimaldis commented 3 years ago

It seems that cmd/search/search is not there in the installed workflow, only cmd/search/main.go. Let me look deeper. kyp

kimaldis commented 3 years ago

So I re-installed the workflow and suddenly, there it was. Go figure.

thanks

drgrib commented 3 years ago

Glad to hear it.