shoestrap/assets/default/bin/pbcopy-remote

7 lines
185 B
Bash
Executable File

#! /bin/bash
# Created by ViViDboarder. Please share with attribution
# Reads hostname from arg1 and gets echos the tmux buffer over to to pbcopy
ssh "$1" 'tmux show-buffer' | pbcopy