Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Search error on StackOverflow from terminal

Arun Prakash Jana edited this page Nov 17, 2018 · 5 revisions

Asciicast

It's handy to look up an error string on StackOverflow from your terminal without having to leave it. googler can be set up to do that.

Create an alias to look up StackOverflow and open the first result (option -j), e.g., on Fish shell:

alias so='googler -j -w stackoverflow.com (xsel)'

When you encounter an error, select it with mouse and fire so on the terminal.

If you want to search the results in googler and cherry-pick them, remove the -j option.