Who needs a mouse to copy output? The extensibility of st

[linkstandalone]

Check out this new video. It could change everything ;-).

Jaywalker suggested adding a new ability to my st build: let the user choose a previously run command via dmenu and copy its output to the clipboard. This is something that you often want to do, but I never thought could be easily added to a terminal. He suggested using externalpipe, which outputs all the visible text, which I already use to follow url links on the command line.

We worked on it a bit last night and this morning and came up with a little script that when run from st, will give you a dmenu prompt of all commands run, and once you choose one, xclip will copy that command and all its output to your clipboard to easily paste anywhere else for troubleshooting, sharing or for anything else.

Get my st build here. It has all this built into it.