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