# Add this to your .bashrc or .zshrc

tmosh () {
	mosh "$1" -- tmux -2 attach -t 0 -d
}