We've all been there, Google doesn't one shot your search query and so you have to add "hackernews", "reddit" or "stackoverflow" to your query to find the relevant results.
Most of the time you know even prior to sending that search if it'll be in this camp, so why not send multiple searches at once?
In the spirit of the relevant XKCD and uzi I've created a batch search function you can use from the terminal, pull the trigger once and you've covered your bases.
Pre-reqs
- Oh my ZSH
- Default web browser
Implementation
plugins=( ... web-search)
function shotgun {
web_search google $1; web_search google site:news.ycombinator.com $1; web_search reddit $1; web_search stackoverflow $1;
}