shoestrap/assets/default/bin/pbcopy-remote

7 lines
185 B
Plaintext
Raw Normal View History

2017-04-27 17:52:49 +00:00
#! /bin/bash
2017-07-11 18:02:31 +00:00
# Created by ViViDboarder. Please share with attribution
2017-04-27 17:52:49 +00:00
# Reads hostname from arg1 and gets echos the tmux buffer over to to pbcopy
ssh "$1" 'tmux show-buffer' | pbcopy