shoestrap/assets/default/bin/pbcopy-remote

6 lines
126 B
Bash
Executable File

#! /bin/bash
# Reads hostname from arg1 and gets echos the tmux buffer over to to pbcopy
ssh $1 'tmux show-buffer' | pbcopy