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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.