zquestz / s

Open a web search in your terminal.
MIT License
2.32k stars 114 forks source link

Complation - handle blacklist and whitelist #171

Closed vantu5z closed 1 year ago

vantu5z commented 1 year ago

Setting blacklist or whitelist in config should be handled by complation and --list-providers, --list-tags params. For example if we set whitelist - provider (tag) complation should work only for this list, also --list-* params should return items depending on this list and not on all provider list.

zquestz commented 1 year ago

This is great feedback. I agree. Will look into it, or would accept a PR with this change.

zquestz commented 1 year ago

It appears that --list-providers already works as expected.

--list-tags lists all tags, not just from active providers in the latest release. I have pushed a new commit that makes this option provider aware and will push an updated release soon.

I am looking into fixing the completion scripts, that seems more complicated, and might take a bit for me to figure out.

zquestz commented 1 year ago

This is all resolved in 0.6.7. Pushing it out now. Thanks for the feedback!

vantu5z commented 1 year ago

Thanks for quick response! Works great!