How to copy from/to the tmux 'clipboard' with shell pipes?
29
votes
1
answer
9358
views
When working in a shell environment I run fairly often into the need to copy 'intermediate pipe output' around (eg. from/to already running editors, to other shells, other machines, etc.).
When in a windowing environment, an easy (and generic) method to solve this is often via the system clipboard, eg.:
* X11:
... | xsel -i
/ xsel -o | ...
* OS X: ... | pbcopy
/ pbpaste | ...
How can I get similarly convenient behavior using the tmux copy/paste facility?
Asked by unthought
(971 rep)
Nov 23, 2012, 03:17 PM
Last activity: Jun 16, 2020, 11:41 AM
Last activity: Jun 16, 2020, 11:41 AM