Home

Awesome

zsh-explainshell

A Zsh plugin to look up the current cmd line on explainshell.com. Uses lynx to extract a plain text version of website response.

Example

asciicast

Current key bindings are as follows

<kbd>CTRL</kbd> + <kbd>E</kbd> , <kbd>CTRL</kbd> + <kbd>E</kbd> ( Explain Explain ) : explain you current command in the current terminal

<kbd>CTRL</kbd> + <kbd>E</kbd> , <kbd>CTRL</kbd> + <kbd>W</kbd> ( Explain in Window ) : explain your current command line in a new tmux split

<kbd>CTRL</kbd> + <kbd>E</kbd> , <kbd>CTRL</kbd> + <kbd>M</kbd> ( Explain just show the Manual ) : take the first command on your cuerrent command line and look it up in the standard man files

<kbd>CTRL</kbd> + <kbd>E</kbd> , <kbd>CTRL</kbd> + <kbd>F</kbd> ( Explain in a browser like Firefox ) : open the relavent explainshell link for your command line in the systems web browser

Thanks to explainshell for existing